Closed Bug 298741 Opened 20 years ago Closed 6 years ago

source pane incorrect after using stop button

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ajschult784, Assigned: rginda)

References

()

Details

Attachments

(1 file)

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.
Attached file testcase
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).
QA Contact: caillon → venkman
Component is obsolete so resolving bugs as INCOMPLETE
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: