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 270746 - debugger points to incorrect line
Summary: debugger points to incorrect line
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-26 11:54 UTC by milkoch1
Modified: 2017-05-26 11:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (391.72 KB, text/plain)
2017-05-26 11:54 UTC, milkoch1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description milkoch1 2017-05-26 11:54:48 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_121
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.121-b13

Reproducibility: Happens sometimes, but not always

STEPS:
  * Open dialog Foo
  * Click on button "Click me"

ACTUAL:
  nothing happens

EXPECTED:
  message pops up

Hi,
the above given problems has been repeatedly occurring at my project. The problem has started about 3 weeks ago.

I work on Java  Windows based project and from time to time this problem occurres on debugging. The following scenarios occurr:
Debugger points to empty lines, tracking a procedure finish prior to reaching the last statement, or on starting the debugging (CTRL+F5) the breakpoint moves to the other line.

This problems occurs irregularilly but often  after some changes to a class source code are made. 
I start clearing amd building all projects accordingly but this doesn't help very much. It looks llike some NB files are not updated properly on rebuilding the projects.
What allways helps is creating the new class with the different name and putting the class code into this new class, removing the "old"class and manual correction of all class  references.
But after some time this problem repeats.

I tried to decompile such problem class to check if the statement line numbers in my source code class match the statement line numbers in the decompiled class source and they do.

I use the NB default compiling options. 

Thanks
Milan
Comment 1 milkoch1 2017-05-26 11:54:53 UTC
Created attachment 164415 [details]
IDE log