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 141604 - Debugging doesn't work in remote development
Summary: Debugging doesn't work in remote development
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ gordonp
URL:
Keywords:
: 142505 (view as bug list)
Depends on: 142949
Blocks:
  Show dependency tree
 
Reported: 2008-07-24 19:44 UTC by _ gordonp
Modified: 2008-08-14 16:10 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 _ gordonp 2008-07-24 19:44:02 UTC
Only part of the debugging code has been completed. Other parts of remote development
block QA so I've been focusing on them...
Comment 1 _ gordonp 2008-07-30 16:02:27 UTC
Partially working on Unix (no path mapping on Windows yet).
Comment 2 _ gordonp 2008-08-01 01:17:57 UTC
Debugging is (kinda) working. Please see #142505 for a fairly serious known issue.
Comment 3 alexandrov 2008-08-04 15:01:49 UTC
after start debugging I receive GDB is not responding. I am used as server intel-solaris machines with gdb 6.6 and gdb
6.3.50 
 
Comment 4 alexandrov 2008-08-04 15:02:46 UTC
see comments above
Comment 5 Sergey Grinev 2008-08-04 15:09:20 UTC
I wasn't able to run debugging too:
Configuration: Windows Vista -> Solaris 2.9, gdb 6.6

After starting debugging NB becomes frozen for a while and shows next error in dialog after:

Cannot run program "start": Create Process error=2, The system cannot find the file specified
Comment 6 _ gordonp 2008-08-04 19:13:07 UTC
Please look in the gdb-cmds*.log file. If its only about 15-16 lines long and they all start
with a number (after the initial ======== line) then this problem is the same as 142505 and
not a separate problem). While I usually get a 2nd try to work, sometimes I don't.
Comment 7 alexandrov 2008-08-06 16:19:36 UTC
yes, all logs beside first gdb run are the such as you talk about, but I run debugging more and more and have not get a
resulat. I could not do step into for project independent how much I've run gdb before, so for me it is more serious
then 142505. 
Comment 8 _ gordonp 2008-08-07 19:20:10 UTC
*** Issue 142505 has been marked as a duplicate of this issue. ***
Comment 10 alexandrov 2008-08-13 14:52:07 UTC
This fix does not work in case of client Linux and server intel-solaris with gdb 6.6.
Comment 11 _ gordonp 2008-08-13 20:11:23 UTC
Please provide symptoms. I just ran on Ubuntu (Hardy Heron) to Solaris 10 and
debugging worked as expected. I ran with a private dev build with the latest
changes (including ones which won't be in a nightly until tonight).
Comment 12 _ gordonp 2008-08-13 20:16:14 UTC
Please check if gdb actually started. The easiest way to do this is to go to /tmp
and remove all gdb-cmds*.log files before starting a remote debug session. If the
debugger starts, you should get a log file created (these files are sometimes removed
when you exit netbeans, so check before that).

Also, be sure you set a breakpoint or did a step-into when you started debugging.
I've had many customers (and myself:-) think the debugger failed because they ran
to completion and the debugger windows disappeared.
Comment 13 alexandrov 2008-08-14 16:10:46 UTC
in last build I finally can do step into or run debugging, so closing bug as fixed.