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 110612 - gdb process is still running if debug session is finished after Continue (more problems on Windows)
Summary: gdb process is still running if debug session is finished after Continue (mo...
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ gordonp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-23 16:02 UTC by Maria Tishkova
Modified: 2009-06-25 10:59 UTC (History)
1 user (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 Maria Tishkova 2007-07-23 16:02:47 UTC
I consider this IZ as a showstopper for NetBeans 5.5.1.1 release

1. Create sample Welcome project
2. Build it
3. Create Breakpoint in main function
4. Run debug session using Run->Debug Main Project
5. Push Continue -> the debug session will be finished -> GDB process is still running on the machine!!!!!

On windows machine I also have the following after the steps above:

6. Try to build project again -> failed 
7. Try to delete file from the file system (using Files Explorer) -> failed (the file is not released  by gdb)

I want to notice that if I will use Finish Debug tollbar button or main menu gdb process will be finished.
Comment 1 _ gordonp 2007-08-08 16:25:53 UTC
Fixed in latest 5.5.1u1 commit.

Normal termination wasn't sending making a -gdb-exit call because state was already STATE_EXITED. But
the way the state model works, the state changes first. So STATE_EXITED is not a valid reason not to
send a -gdb-exit command.
Comment 2 Maria Tishkova 2007-08-09 11:11:06 UTC
verified on Windows and Solaris with the latest build from Aug 9th