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.
Using NetBeans IDE Build 201012150001 on Windows XP to remote debug on FreeBSD. Trying to set a breakpoint during debugging but there is no answer from gdb (see below). I am thinking that it might have to do with absolute path names, i.e. it would be interesting to set the breakpoint like this 12-break-insert "../../src/game/worker/celebrate.cpp:52" instead of 12-break-insert "/usr/home/devel/2030/trunk/M2164/src/game/worker/celebrate.cpp:52" Is there an option so I could try this out? ~"GNU gdb 6.6 [GDB v6.6 for FreeBSD]\n" ~"Copyright (C) 2006 Free Software Foundation, Inc.\n" ~"GDB is free software, covered by the GNU General Public License, and you are\n" ~"welcome to change it and/or distribute copies of it under certain conditions.\n" ~"Type \"show copying\" to see the conditions.\n" ~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n" ~"This GDB was configured as \"i386-portbld-freebsd7.0\".\n" &"C:\\Dokumente und Einstellungen\\Sebastian/.gdbinit: No such file or directory.\n" (gdb) 1-gdb-set print repeat 0 2-gdb-set backtrace limit 1024 3-file-exec-and-symbols "/usr/home/devel/2030/trunk/M2164/netbeans/Run/M2164.debug.binary" 1^done (gdb) 2^done (gdb) 3^done (gdb) 4-file-list-exec-source-file 5cd /usr/home/devel/2030/trunk/build.tmp/home/prog 6-exec-arguments < /var/tmp/dlight_root/d15c9b8f/debuggerFifo6072.fifo > /var/tmp/dlight_root/d15c9b8f/debuggerFifo6074.fifo 2>&1 4^done,line="3",file="../../src/game/main.cpp",fullname="/usr/home/devel/2030/trunk/M2164/src/game/main.cpp" (gdb) &"cd /usr/home/devel/2030/trunk/build.tmp/home/prog\n" ~"Working directory /usr/home/devel/2030/trunk/build.tmp/home/prog.\n" 5^done (gdb) 6^done (gdb) 7-break-insert -t _start 7^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x08052880",at="<_start>",times="0"} (gdb) 8-exec-run 8^running (gdb) 8*stopped,thread-id="0",frame={addr="0x08052880",func="_start",args=[]} (gdb) 9info proc &"info proc\n" &"Undefined info command: \"proc\". Try \"help info\".\n" 9^error,msg="Undefined info command: \"proc\". Try \"help info\"." (gdb) 10info threads &"info threads\n" &"warning: Couldn't restore frame in current thread, at frame 0\n" ~"0x08052880 in _start ()\n" 10^done (gdb) 11-exec-continue 11^running (gdb) 12-break-insert "/usr/home/devel/2030/trunk/M2164/src/game/worker/celebrate.cpp:52" 13-break-insert "/usr/home/devel/2030/trunk/M2164/src/game/worker/celebrate.cpp:52" 14-break-insert "/usr/home/devel/2030/trunk/M2164/src/game/worker/celebrate.cpp:52" 15-break-insert "/usr/home/devel/2030/trunk/M2164/src/game/worker/celebrate.cpp:52" 16-break-insert "/usr/home/devel/2030/trunk/M2164/src/game/worker/celebrate.cpp:52" 17-break-insert "/usr/home/devel/2030/trunk/M2164/src/game/worker/celebrate.cpp:54"
pid was not detected so pause does not work and to set/unset breakpoints you need to stop the application
Currently FreeBSD is not in the list of NB supported platforms. The bug could be fixed if time permits.