Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327268

Summary: Can't create JavaScript line breakpoint
Product: [WebTools] JSDT Reporter: Simon Kaegi <simon_kaegi>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact: Simon Kaegi <simon_kaegi>
Severity: normal    
Priority: P3 CC: jdance, michschn, thatnitind
Version: 3.2Flags: thatnitind: review+
Target Milestone: 3.2.3   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 313013    
Bug Blocks: 327279    
Attachments:
Description Flags
fix none

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