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