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

Summary: attach debugger won't stop at breakpoint
Product: debugger Reporter: Milos Kleint <mkleint>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Milos Kleint 2013-04-18 09:14:40 UTC
steps to reproduce:

1. open'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.