Bug 14767 - Steps into wrong location in file
Summary: Steps into wrong location in file
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-25 15:16 PDT by Alice Liu
Modified: 2014-12-11 09:32 PST (History)
1 user (show)

See Also:


Attachments
screenshot (147.76 KB, image/png)
2007-07-25 15:17 PDT, Alice Liu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alice Liu 2007-07-25 15:16:14 PDT
When debugging a certain site, http://labs.zarate.org/passwd/, i set a breakpoint on the line that contained the form element, intending to step into the onsubmit handler. I also have a breakpoint set at the beginning of the onsubmit handler.  I hit the breakpoint that was set on the form element, but after hitting the "Step Into" button once, i jumped to a completely unrelated line in the file, which was not the onsubmit handler.  The function stack, however, indicated that Drosera thinks that i am inside the onsubmit handler. 

STEPS TO REPRO:
1) attach Drosera to TOT
2) go to http://labs.zarate.org/passwd/
3) set a breakpoint on the line that contains the form element, and at the beginning of function build_marklet(). 
4) on the webpage, press the "Build Bookmarklet" button
5) you'll break on the form element line.  now Step Into.

RESULTS: 
stepped to a line that is not correct.
Comment 1 Alice Liu 2007-07-25 15:17:17 PDT
Created attachment 15687 [details]
screenshot
Comment 2 Timothy Hatcher 2008-05-17 09:29:27 PDT
This might still be an issue in the new debugger.