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 269499 - Debugging of Maven based Java projects does not work
Summary: Debugging of Maven based Java projects does not work
Status: CLOSED INVALID
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-06 16:54 UTC by Jiri Kovalsky
Modified: 2017-01-09 15:30 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 Jiri Kovalsky 2017-01-06 16:54:30 UTC
Product Version: NetBeans IDE 8.2 (Build 201609300101)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 1
Java: 1.8.0_121; Java HotSpot(TM) 64-Bit Server VM 25.121-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_121-b13
System: Linux version 4.4.0-53-generic running on amd64; UTF-8; cs_CZ (nb)

Description:
============
Maven based project users cannot debug their projects. Debugger starts but line breakpoints are never hit. The only thing user can do is to kill debugging session.

Steps to reproduce:
===================
1. Create a new Maven based Java application.
2. Create a new Java class with some debuggable code.
3. Toggle a line breakpoint inside it and hit Ctrl+F5 keystroke.

Expected: Debugging session is started and the breakpoint is hit.
Actual: Debugging session is started but the breakpoint is not hit.
Comment 1 Martin Balin 2017-01-09 13:35:09 UTC
I could not reproduce this in Ubuntu 16.04 with JDK8 U121 b13 and NB 8.2 with Patch 1 installed.
Therefore decreasing the priority.
Comment 2 Martin Entlicher 2017-01-09 15:00:20 UTC
It works for me on Ubuntu 16.04 as well.

Is not a problem in the entered code, can you zip the project and attach it here for reference?

Anything in the Debugger Console?
Comment 3 Jiri Kovalsky 2017-01-09 15:18:40 UTC
Resolving as an invalid issue. After re-installation of my operating system I didn't have exec-maven-plugin-1.2.pom downloaded with all it's dependencies and due to being connected through VPN and not having Proxy setup correctly for Maven I ended up being stuck. After fixing the above I am now able to debug Maven based project normally. Thanks for your help guys.

I apologize for the false alarm.
Comment 4 Jiri Kovalsky 2017-01-09 15:30:05 UTC
Closing.