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 174084 - Gdb can freeze nb if attaching to netbeans process
Summary: Gdb can freeze nb if attaching to netbeans process
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-08 15:17 UTC by Oleg Khokhlov
Modified: 2016-07-06 14:38 UTC (History)
2 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 Oleg Khokhlov 2009-10-08 15:17:22 UTC
- Start IDE and open/create a cnd project;
- Go to Debug->Attach Debugger;
- Check "Show all processes";
- Choose netbeans and click OK;

Nb is completely frozen.
You can kill gdb process and IDE will be ok again but if user doesn't know that he should kill gdb process - he can kill
netbeans process which can lead to dataloss.

Product Version: NetBeans IDE Dev (Build 200910070250)
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Comment 1 Alexander Pepin 2009-10-08 18:23:29 UTC
The problem occurs due to native gdb issue. Gdb breaks NB execution causing a segmentation fault. Command line gdb works
the same way.
The possible pretty simple fix is to disable attaching to the "parent" (current IDE) netbeans process.