This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 140828

Summary: Can't add breakpoint
Product: javascript Reporter: Joelle Lam <joellelam>
Component: DebuggerAssignee: Joelle Lam <joellelam>
Status: RESOLVED FIXED    
Severity: blocker Keywords: RANDOM
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Joelle Lam 2008-07-18 21:43:51 UTC
Sometimes the breakpoint dialog does not show up.
Comment 1 Mark Dey 2008-07-24 18:48:33 UTC
I see a different symptom.  When stopped in a JS file, I select Debug->New Breakpoint... I get a dialog offering several debugger types: PHP, C++, Ruby, BPEL, 
and Java, but no JavaScript so AFAICT, there is no way to set a breakpoint from the dialog at all.
Comment 2 Joelle Lam 2008-07-28 23:49:55 UTC
Apologies, Dialog was the wrong word. There are times in which you can not add a breakpoint by click on the gutter.  I
thought there was a drop down when right clicking on the gutter (to add a breakpoint), but there is not one.  We still
need to track down this issue for M2. 

Adding the Javascript breakpoint type to the New Breakpoint Dialog is functionality we never got to, but maybe we should
for M2.  Any thoughts?
Comment 3 _ krystyna 2008-07-29 00:51:35 UTC
Regarding the first issue, right clicking in the gutter, looks like the breakpoint dropdown
is only available with the Enable/disable and Properties if a breakpoint exists.
A breakpoint can be set from clicking in the gutter or from right clicking in the 
source to Toggle Breakpoint.  No breakpoint, no breakpoint dropdown menu. Probably not a 
bug afterall, just tricky UI.
Comment 4 Joelle Lam 2008-07-29 00:59:38 UTC
A Krys, thanks for the input.  Actually last week we figured out that there is no option to create a breakpoint in the
drop down menu.  But we are still dealing with a bug in which when the user directly click on the gutter no breakpoint
is set.  Have you seen this?  I need to have a really good reproducible case to debug this issue.  It seems to have
something to to do with the extension being hosed but we are not sure yet.
Comment 5 Joelle Lam 2008-08-02 16:54:43 UTC
Commited fix yesterday