Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 116578

Summary: [60cat] "no executable location" when setting breakpoint
Product: debugger Reporter: gholmer <gholmer>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: CLOSED DUPLICATE QA Contact: issues <>
Priority: P3    
Version: 6.x   
Target Milestone: TBD   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Report:

Description gholmer 2007-09-24 21:32:56 UTC
[ JDK VERSION : 1.5.* ]

Using an external copy of Tomcat 6.0 with "attach debugger". Setting a breakpoint in a web app gives this message:

Not able to submit breakpoint LineBreakpoint : 354, reason: No executable location available at line 354.
Invalid LineBreakpoint : 354

but line 354 is (split across two lines):

                   new ActionMessage("error.generic", exc.getMessage()));

As soon as I restart Tomcat, the breakpoint badge changes to solid pink, and when I reconnect, there are no errors.

The issue occurs only intermittently.
Comment 1 Roman Ondruska 2007-09-25 08:55:24 UTC
The Sun Javac only creates a location for the first line in multi-line expressions although this is not specified
anywhere. Are you using SUN Javac for the compilation? Is the breakpoint toggled at 354 or 355? Thanks. 
Comment 2 Martin Entlicher 2007-10-08 19:47:35 UTC
Please run NetBeans with following option:
and when this happens again, please provide the log file where debugging messages are printed. That should help to
identify the problem.
If line 354 is the second line of the expression, then the breakpoint will not work there.
If line 354 is the first line of the expression, then there should not be any problem. Are you able to submit
breakpoints at other lines in that class when it invalidates the breakpoint?
Comment 3 Martin Entlicher 2007-10-08 20:00:12 UTC
I've also added the class name into the error message, for reference:

/shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/breakpoints/,v  <--
new revision: 1.18; previous revision: 1.17

new revision: 1.45; previous revision: 1.44
Comment 4 Martin Entlicher 2007-10-18 17:33:51 UTC
Please try on recent 6.0 build (or upcomming beta2), breakpoints validity works fine for us.
If there are still some problems, they should be apparent from extended log generated after
-J-Dorg.netbeans.modules.debugger.jpda.level=400 option is used.
Resolving as works for me.
Comment 5 Martin Entlicher 2007-10-18 17:54:30 UTC
Maybe there's really some subtle problem occuring under some specific circumstances. I've found issue #115033.
Comment 6 Martin Entlicher 2007-10-18 17:55:39 UTC
Resolving as a dupl. of older issue #115033. Please add any further comments/logs there. Thanks.

*** This issue has been marked as a duplicate of 115033 ***
Comment 7 Quality Engineering 2010-04-29 09:35:18 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo