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 252599 - Unable to debug without building
Summary: Unable to debug without building
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-26 18:27 UTC by ryoung038
Modified: 2015-06-03 15:57 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 ryoung038 2015-05-26 18:27:51 UTC
On a maven web app. Every single time I try to debug the app it re-builds. I do not want it to build at all if it has already been built. 

I have the "Always perform build before running application" unchecked under Properties > Run.

Under Actions > Run project & Actions > Debug project I do not see any further configuration regarding whether or not to build the project before running/debugging. 

Sometimes it goes through phases were it doesn't build before running/debugging, but it is very random. I have tried clearing out the cache with no success. 

Basically, this is completely preventing me from being able to debug the application without going through some weird channels to get it to work. 

I'm guessing that if the "Always perform build before running application" is checked then it will ALWAYS build first. If it is not checked then it will sometimes build ... whenever it feels like it?
Comment 1 ryoung038 2015-05-26 18:31:32 UTC
Also, I have asked on stackoverflow and other forums about this and nobody seems to have an answer as to why it is doing this.
Comment 2 Jiri Kovalsky 2015-05-27 07:56:08 UTC
What kind of Maven based application is that? JavaEE? JavaFX? And is that NetBeans IDE 8.0.2 build #201411181905?

I cannot reproduce it in:

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 1
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 3 Martin Entlicher 2015-06-03 15:57:42 UTC
It also works for me. Probably a project configuration issue?
Please provide a sample project if the problem persists.