1. A method for debugging eXtensible markup language (XML) documents, the method comprising: inserting breakpoints in an XML document at locations chosen by a user; parsing the XML document in a modeling framework to convert the XML document into a byte code format; propagating the inserted breakpoints from the XML document to the byte code format; storing the propagated breakpoints in runtime libraries associated with the byte code format; during runtime, on encountering the propagated breakpoints, retrieving information stored regarding the propagated breakpoints in the runtime libraries of the XML document stored in the byte code format; and pointing to the location of the inserted breakpoints in the XML document based on a determination that the byte code format is obtained from the XML document.