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 167353

Summary: Deploy on save breaks debugging
Product: javaee Reporter: Martin Entlicher <mentlicher>
Component: DebuggerAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: bht, difficult, pjiricka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Martin Entlicher 2009-06-19 09:22:11 UTC
When a servlet is modified while debugging session is running and line numbers are changed, all breakpoints are broken.
Breakpoints are shifted by the change and therefore point to a different line.

Debugger translates all breakpoints in modified sources to the original location so that ordinary programs work
correctly when just the source is modified. But it does not count with possibility that someone else (deploy process in
this case) modifies the program. Line translation table needs to be cleared on deploy so that debugger can submit
breakpoints to the new and correct location.
Comment 1 Martin Entlicher 2009-11-13 03:50:22 UTC
*** Bug 167544 has been marked as a duplicate of this bug. ***
Comment 2 Martin Entlicher 2010-09-16 16:16:15 UTC
This is just an exact duplicate of issue #187826.
Retaining issue #187826 since there is more information.

*** This bug has been marked as a duplicate of bug 187826 ***