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 156201 - add remote debugging support (gdbserver)
Summary: add remote debugging support (gdbserver)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All Linux
: P1 blocker with 8 votes (vote)
Assignee: Egor Ushakov
URL:
Keywords:
: 193395 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-31 14:56 UTC by luwar
Modified: 2010-12-14 18:16 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description luwar 2008-12-31 14:56:56 UTC
Hello,
I tried to use NetBeans 6.5 for developing software for embedded systems. After setting up the tool collection it works very well 
for several microcontrollers (Atmel AVR and TI MSP430 family). But then came the big blocker :-(
There is not support for remote debugging of small devices. The "Development Host" solution does not work for small controllers. 
There cannot run a ssh server on a microcontroller with 1kB RAM. ;-)

The most development boards use the standard remote protocol of gdb.
Is it possible to support gdbserver for remote debugging C/C++ programs in netbeans?

This would be a very big improvement. All the developers of the embedded world could use NetBeans with their existing toolchain.

see also http://forums.netbeans.org/topic3961.html

Regards,
Luwar
Comment 1 develvic 2009-03-31 11:26:07 UTC
I'm happy to use NetBeans because of it code editor, stability, interface convenience and C++ assistant but for me
really do not have enough support of Gdbserver for debugging.
Eclipse support this functionality but is it less convenience for me to work with code.
The support that I need:
- the ability to connect to a remote computer (attach to debugger) for debugging with gdbserver (address:port)
- manage breakpoints
- view the stack
- manage threads
- code navigation during debug session
- value of local variables ...
Comment 2 _ gordonp 2009-04-29 23:37:59 UTC
Changing to enhancement. Also setting target milestone to Future as I
have no timetable for this and will only do it in spare time.
Comment 3 jmccabe 2009-05-07 13:49:16 UTC
We're currently developing C++ code using MS Visual Studio as an IDE, and SDE Insight for debugging on a MIPS target.
For future projects we'd like to move away from MS VS, partly due to the potential for developing on Linux. At the
moment it looks like our main option is Eclipse because there is some support from various organisations for debugging
embedded applications using GDB and gdbserver. I personally would like an alternative and have heard good things about
NetBeans. The lack of this functionality is a sticking point.
Comment 4 Egor Ushakov 2009-08-17 14:18:06 UTC
initial version implemented in:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=f74fd4d9edfe

To attach to a gdbserver use attach type "gdbserver" in attach debugger dialog.

Still not working:
- load to target
- breakpoint setting on the fly
Comment 5 Egor Ushakov 2009-08-17 16:46:07 UTC
I close this enhancement as fixed and filed new (breakpoints and suspend) issue 170488
Comment 6 Egor Ushakov 2010-12-14 18:16:36 UTC
*** Bug 193395 has been marked as a duplicate of this bug. ***