Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327279 - Can't create JavaScript line breakpoint
Summary: Can't create JavaScript line breakpoint
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: Debug (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.2.2 P   Edit
Assignee: Michael Rennie CLA
QA Contact: Simon Kaegi CLA
URL:
Whiteboard:
Keywords:
Depends on: 313013 327268
Blocks:
  Show dependency tree
 
Reported: 2010-10-07 16:14 EDT by Michael Rennie CLA
Modified: 2010-10-11 17:19 EDT (History)
5 users (show)

See Also:
thatnitind: review+


Attachments
fix (2.99 KB, patch)
2010-10-07 16:20 EDT, Michael Rennie CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2010-10-07 16:14:17 EDT
+++ This bug was initially created as a clone of Bug #327268 +++

See video http://www.poshnet.ch/jing/2010-05-15_1345.swf

I can't create line breakpoints in the places shown in the video.
I can create breakpoints in functions that are part of my dojo.declare'd types.
I can't set breakpoints for object literal members

I get the same behavior if I try to add the breakpoint while the debugger is not running as well if the debugger is running and the respective file is loaded

The status bar always shows a "Failed to create Javascript line breakpoint" error message
Comment 1 Michael Rennie CLA 2010-10-07 16:14:40 EDT
this clone is targetted for 3.2.2 patches
Comment 2 Michael Rennie CLA 2010-10-07 16:20:24 EDT
Created attachment 180452 [details]
fix

the patch is the same as the one from bug 327268. It resolves this issue as well
Comment 3 Carl Anderson CLA 2010-10-11 17:19:30 EDT
Committed to R3_2_2_patches