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 228686 - attach debugger won't stop at breakpoint
Summary: attach debugger won't stop at breakpoint
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-18 09:14 UTC by Milos Kleint
Modified: 2013-04-18 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2013-04-18 09:14:40 UTC
steps to reproduce:

1. open nb.org's nbbuild/ + nbjunit/ projects
2. trigger run on nbbuild project, new IDE appears.
3. in the new IDE create a new Maven/NetBeans Application
4. build the *-Parent project that builds all created projects.
5. On the *-application project, trigger Custom > Goals... from popup.
6. enter Goal: surefire:test, Properties: maven.surefire.debug=true  and run the build. The build should stop at listening on port 5005 (or similar)
7. Back to the initial IDE instance and add a breakpoint in NbModuleSuite.Configuration's constructor in nbjunit/ project.
8. Attach debugger and observe how debugger attaches, test is run but the IDE won't stop at breakpoint.

Please note that doing the same without extra IDE instance in step 2 works.