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 - Deploy on save breaks debugging
Summary: Deploy on save breaks debugging
Status: RESOLVED DUPLICATE of bug 187826
Alias: None
Product: javaee
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 167544 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-19 09:22 UTC by Martin Entlicher
Modified: 2010-09-16 16:16 UTC (History)
3 users (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 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 ***