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 236670 - JPDA Breakpoint Does Not Work with mvnDebug
Summary: JPDA Breakpoint Does Not Work with mvnDebug
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 17:41 UTC by jkharness87
Modified: 2013-10-02 17:42 UTC (History)
1 user (show)

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 jkharness87 2013-10-02 17:41:52 UTC
Using Netbeans 7.4 RC2 and a Java Maven project with JDK 6, breakpoints do not seem to work in the jpda debugger.

Steps:

* Launch test from command line using mvnDebug:

mvnDebug -DforkMode=never -Dmaven.apt.skip=true -Dtest=MyTest#testCase test

* Connect to port 8000 on localhost using Netbeans jpda debugger.

I know some pieces of this work because the mvnDebug command halts until Netbeans connects. Furthermore, clicking the 'Pause' button causes the console output from mvnDebug to pause. Clicking 'Play' causes the console output to resume. However, breakpoints do not seem to trigger.

I ran the same test in Netbeans 7.3 and didn't have any issues.