Patent ID: 8245198

Claim:
At a computer system, a method for mapping a breakpoint in a first Web based document to a second Web based document, the first and second Web based documents each including one or more client script blocks along with other content, the method comprising: an act of receiving an indication that the breakpoint was inserted into a first client script block at a specified location within the first Web based document, the first client script block selected from among the one or more client script blocks in the first Web based document; an act of determining that a second client script block corresponding to the first client script block is present at a location within the second Web based document, the second client script block selected from among the one or more client script blocks in the second Web based document; an act of mapping the breakpoint in the first Web based document to a corresponding appropriate mapped location in the second Web based document based on the first client script block, the second client script block, and the specified location of the breakpoint within the first client script block; and an act of inserting a breakpoint into the second Web based document at the mapped location such that execution of the second Web based document is halted in an appropriate location within the second client script block when the breakpoint inserted in the second Web based document is reached during processing of the second Web based document.