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 58584 - Program counter is not appearing
Summary: Program counter is not appearing
Status: CLOSED INVALID
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 4.x
Hardware: All Windows ME/2000
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-04 16:17 UTC by javasoftwareeng
Modified: 2010-04-29 09:22 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 javasoftwareeng 2005-05-04 16:17:36 UTC
I set the Line breakpoint and event method break point. But when I started the 
application in debugger mode, program counter is not appearing in the source 
editor. I wanted to use this IDE for my project. Please let me know how to 
solve this.

Thanks,
Manju
Comment 1 Roman Ondruska 2005-05-04 16:55:18 UTC
What version of NB is it? Is this problem reproducible for you (with other sources)?
Comment 2 javasoftwareeng 2005-05-04 17:11:31 UTC
Version of Netbeans 4.1RC2. Yes, I can reproduce. Basically I am not all 
getting program pointer when I started debugging. To checkout where is my 
debugger stopped, I reffer the Debuger console. This debugger console tells me 
in which line the debugger is stopped. 

Thanks,
Manju
Comment 3 Roman Ondruska 2005-05-05 11:00:25 UTC
Have you compiled your sources with -g (Generate all debugging info ) option?
Comment 4 javasoftwareeng 2005-05-05 16:42:56 UTC
Yes, sources were compiled with the option "Generate Debug Info" option checked 
in. 
Comment 5 Roman Ondruska 2005-05-05 16:53:19 UTC
Is debugger stopped (according to debugger console) at line or method brakpoint?
Can you also try to set just line breakpoint to isolate the problem?
Can you send a test-case?   
Comment 6 javasoftwareeng 2005-05-06 09:16:11 UTC
First I set the line break point and tried but program counter not appeared.
Then I tried with Method break point also same, no program counter. 

Test case is very simple. Just even I write two line of codes also the program 
counter is not appearing in source editor. 

Comment 7 Milan Kubec 2005-05-06 09:34:30 UTC
There must be something special about your project or configuration, two other
people tried to reproduce the problem and still without success. It seems that
we will need more help from you. Could you provide your messages.log file from
your userdir under var/log. Also if you could provide your project and all
details about its modified properties (Libraries, Platform). And also describe
exactly what you are doing, starting with clean userdir that leads to bad
behavior. Thanks for your help.
Comment 8 javasoftwareeng 2005-05-06 11:14:09 UTC
I found the problem. The problem is specifing wrong package. But might be this 
is bug also. Because, when I changed the package the debugger use to stop at my 
line break point and shows the message in Debugger console as stopped at 
particular line, but Program pointer never use to appear. 

Now this is fixed by specifing correct package.
Now for my project this is working, that's why I am closing this issue. For all 
developers I am thank full.

Regards,
Manju 
Comment 9 Martin Entlicher 2005-05-06 11:33:30 UTC
Thank you. It's good that you found the source of the problem.
There was actually nothing fixed, therefore reopening, will close as INVALID.
Comment 10 Martin Entlicher 2005-05-06 11:34:00 UTC
Resolving as invalid.
Comment 11 Quality Engineering 2010-04-29 09:22:27 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.