Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327268 - 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.3   Edit
Assignee: Michael Rennie CLA
QA Contact: Simon Kaegi CLA
URL:
Whiteboard:
Keywords:
Depends on: 313013
Blocks: 327279
  Show dependency tree
 
Reported: 2010-10-07 14:51 EDT by Simon Kaegi CLA
Modified: 2010-10-19 16:24 EDT (History)
3 users (show)

See Also:
thatnitind: review+


Attachments
fix (2.99 KB, patch)
2010-10-07 15:13 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 Simon Kaegi CLA 2010-10-07 14:51:28 EDT
+++ This bug was initially created as a clone of Bug #313013 +++

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 15:13:53 EDT
Created attachment 180446 [details]
fix

The patch is against the 3.2 maintenance stream. It is a direct clone of the patch from bug 313013
Comment 2 Michael Rennie CLA 2010-10-19 16:24:09 EDT
applied patch to 3.2.3, please verify Nitin