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 70373 - [50cat] [tools] Single step, continue, and step into are not working when debugging modules, break points not catching correctly
Summary: [50cat] [tools] Single step, continue, and step into are not working when de...
Status: CLOSED DUPLICATE of bug 70372
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 03:01 UTC by _ wadechandler
Modified: 2010-04-29 09:27 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 _ wadechandler 2005-12-14 03:01:13 UTC
[ JDK VERSION : 1.5.0_05 ]

I am trying to debug a module I'm developing.  I got the latest sources from CVS on 2005-12-07 and built the IDE at 4:34 PM US EST.  It is now 2005-12-13 at 9:38 PM US EST.  I build my module.  I set break points.  I debug it.  The break point will catch.  I can set other break points in the same file lines below the stopped.  I hit continue and it will not catch.  If I try to single step it simply continues.  The IDE then starts acting strange.  It locks up sometimes, others is slows down, and other times it just continues functioning.  The debugged IDE/Platform will stall out a bit as well and get slow.  It will continue to run (I can't say work) and break points will be missed.  If I have other break points in other files they will catch as long as the IDE isn't stopped debugging in that particular file where the next break point which should catch.  

So, lets say I have files 1, 2, 3.  I set break points in all 3.  The debugger/IDE stops on a break point in 2.  I set another break point in file 2 a line or two below the current break point the IDE stopped on.  It should catch when I hit continue, but it doesn't.  The IDE seems to be getting errors per the log I'll attach later.  If during the time I am debugging the break point happens to stop near a line that will call another line with a break point in another file (say it's in file 1 and I'm in file 2) then the IDE will stop on that break point, it just will not stop on other break points from within the same file nor will it single step or step into.

If I have break points in file 2 and 3 and it stops on a break point in 2.  I can set a break point a couple of lines down and know it should stop.  Then lets say some time after it should have stopped on the newly set break point it will call code which will call code in file 3 which has a break point.  The debugger will stop on this break point in the other file (3).  Now, once I'm in 3 it will not single step, catch a break point, nor step into anyything.  When I hit single step, continue, or step into it behaves the same and will continue to run and possibly will stop on a break point in another file.

I'm working on a module to contribute to NB, so I'll make an attachment with the entire project.  I'll make attachments with both logs from the platform and the IDE.

All I did:  I got NB using win-cvs.  I built the IDE without an error.  I then moved this build to a different folder.  This copy is what I'm using for development.  I'm using the build/source version as the platform (not the copy,but same code).  I then created a new module project.  Once I got to where I could try to debug and test some code this is the error/behaviour I am getting from the IDE.

Other projects seem to be debugging and running fine.  Web and j2se.
Comment 1 _ wadechandler 2005-12-14 03:20:44 UTC

*** This issue has been marked as a duplicate of 70372 ***
Comment 2 Quality Engineering 2010-04-29 09:27:56 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.