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

Bug 327279

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

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