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 206988 - Unable to launch debugger on external host
Summary: Unable to launch debugger on external host
Status: RESOLVED DUPLICATE of bug 199530
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-06 14:31 UTC by tysonite
Modified: 2012-03-29 09:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The log file of what I am doing (71.64 KB, application/octet-stream)
2012-01-06 14:31 UTC, tysonite
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tysonite 2012-01-06 14:31:01 UTC
Created attachment 114685 [details]
The log file of what I am doing

I got the following exception, while trying to launch a debugger on external host (GUI: Debug->Attach Debuger). I correctly got information about running processes and choosed one from the list, but dialog (Starting debugger...) never ends.

External host:

$ lsb_release -a
LSB Version:    :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 6.0 (Final)
Release:        6.0
Codename:       Final

$ which gdb
/usr/bin/gdb

This is an extraction from log file:

java.lang.NullPointerException
[catch] at org.netbeans.modules.cnd.debugger.common2.debugger.assembly.Disassembly.close(Disassembly.java:218)
	at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerImpl.preKill(NativeDebuggerImpl.java:1114)
	at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.kill(GdbDebuggerImpl.java:607)
	at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.postKill(GdbDebuggerImpl.java:701)
	at org.netbeans.modules.cnd.debugger.common2.debugger.actions.KillActionProvider$1.run(KillActionProvider.java:109)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:162)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Egor Ushakov 2012-03-29 09:35:05 UTC

*** This bug has been marked as a duplicate of bug 199530 ***