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 256188 - Debug file launches on tomcat while run file executes main method correctly
Summary: Debug file launches on tomcat while run file executes main method correctly
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-26 18:18 UTC by everflux
Modified: 2015-10-26 18:18 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 everflux 2015-10-26 18:18:23 UTC
Product Version: NetBeans IDE 8.1 RC2 (Build 201510122201)
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b17
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b17
System: Linux version 4.2.0-16-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/tkruse/.netbeans/8.1rc2
Cache directory: /home/tkruse/.cache/netbeans/8.1rc2

I have a multi module maven project.
In the web module I have unit test files. In a unit test file I have additionally a main method.

When "run file" is performed, the main method is executed as expected.

When "debug file" is performed, netbeans tries to deploy the webapp before executing the main method in the unit test class (which never gets deployed anyway)