[Bug 225311] Not able to submit breakpoint

  • From:
  • To:
  • Subject: [Bug 225311] Not able to submit breakpoint
  • Date: Mon, 28 Jan 2013 15:53:24 +0000
  • Auto-submitted: auto-generated

http://netbeans.org/bugzilla/show_bug.cgi?id=225311

--- Comment #9 from Martin Entlicher 
< >
 2013-01-28 15:53:24 UTC ---
The first thread dump has really a lot of threads. But most of the 15 "JPDA
Debugger" threads just wait idle. Only 3 of them are refreshing source roots
and are waiting for disk access. We should improve this by scheduling this to
one thread only. I've submitted issue #225418 for this.
This is a performance problem that should not affect functionality.

Regarding to the invalid breakpoints, it looks like the breakpoint might not 
be
updated at all after deploy of the modified project. Do you use ANT project
generated by NetBeans IDE, or did you write or modified the project yourself?
There is a task called "nbjpdaappreloaded" which updates the breakpoint lines
after deployment. It's possible to check whether this task was called or not.
The default ANT script has "-do-update-breakpoints", which contains the
"nbjpdaappreloaded" and which is called during deploy. If you set "Verbose"
verbosity level in Tools -> Options -> Java -> Ant and do Deploy (if you have
compile-on-save, you have also deploy-on-save I guess, so deploy is called
automatically after save), you should see something like this in Output:
-run-deploy-am:
-post-nbmodule-run-deploy:
-post-run-deploy:
-do-update-breakpoints:
run-deploy:

It's possible to verify the breakpoint updates also via logging. When you 
start
NetBeans with -J-Dorg.netbeans.modules.debugger.jpda.ant.level=400 option (can
be put into netbeans.conf), you should see logging output like this in
messages.log file:
This is printed when you start debug a project:
FINE [org.netbeans.modules.debugger.jpda.ant]: JPDAConnect.execute
().synchronized: host = localhost port = 9009 transport = dt_socket
FINE [org.netbeans.modules.debugger.jpda.ant]: JPDAConnect.execute
().synchronized end: success
FINE [org.netbeans.modules.debugger.jpda.ant]: JPDAConnect.execute () end:
success

And this is printed when breakpoints are updated:
FINE [org.netbeans.modules.debugger.jpda.ant]: JPDAAppReloaded.execute()
FINE [org.netbeans.modules.debugger.jpda.ant]: Breakpoints fixed.

Can you please try that?

Also, can you please try to switch off both compile-on-save and deploy-on-save
and check whether breakpoints become broken after source code changes followed
by manual deploy via project Deploy action?
Thank you.

-- 
Configure bugmail: http://netbeans.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


[Bug 225311] New: Not able to submit breakpoint

bht 01/25/2013

[Bug 225311] Not able to submit breakpoint

mentlicher 01/25/2013

[Bug 225311] Not able to submit breakpoint

bht 01/25/2013

[Bug 225311] Not able to submit breakpoint

bht 01/25/2013

[Bug 225311] Not able to submit breakpoint

bht 01/25/2013

[Bug 225311] Not able to submit breakpoint

bht 01/25/2013

[Bug 225311] Not able to submit breakpoint

bht 01/26/2013

[Bug 225311] Not able to submit breakpoint

bht 01/27/2013

[Bug 225311] Not able to submit breakpoint

bht 01/27/2013

[Bug 225311] Not able to submit breakpoint

mentlicher 01/28/2013

[Bug 225311] Not able to submit breakpoint

bht 01/28/2013

Project Features

About this Project

Debugger was started in November 2009, is owned by tpavek, and has 29 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close