source pane incorrect after using stop button

Assigned to


Other Applications
Venkman JS Debugger
13 years ago
10 years ago


(Reporter: Andrew Schultz, Assigned: Robert Ginda)


Firefox Tracking Flags

(Not tracked)




(1 attachment)



13 years ago
With linux trunk build 2005062305 (Venkman 0.9.83) If I:
1) load the html testcase in a browser window
2) hit the stop button (and then continue and then stop again, bug 298736)
3) in the browser window, select a "product"

==> The source pane loads the html testcase, but the first line (the doctype
declaration) is highlighted yellow.  If I click "step into", it actually steps
into the function properly.

Comment 1

13 years ago
Created attachment 187267 [details]

Comment 2

12 years ago
This is because the event handler function claims to start on line 1 (expand the attachment.cgi items in the Loaded Scripts window). That means it's almost certainly the DOM's fault for compiling the event handler script with an incorrect line number.

FWIW, the Step Into appears to fix it because the (check the Call Stack to see this) only line in the onchange event handler is a call to doOnSelectProduct. This function is compiled with the right line number info (it's not an event handler, which gives it a head-start).


10 years ago
QA Contact: caillon → venkman
You need to log in before you can comment on or make changes to this bug.