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 193633 - FreeBSD Remote Debugging: Setting of breakpoint has no effect
Summary: FreeBSD Remote Debugging: Setting of breakpoint has no effect
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.0
Hardware: PC Other
: P4 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 09:34 UTC by Sebastian.Meier
Modified: 2016-07-06 14:39 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 Sebastian.Meier 2010-12-20 09:34:51 UTC
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"
Comment 1 Egor Ushakov 2010-12-21 07:49:46 UTC
pid was not detected so pause does not work and to set/unset breakpoints you need to stop the application
Comment 2 Alexander Pepin 2011-01-19 17:36:03 UTC
Currently FreeBSD is not in the list of NB supported platforms. The bug could be fixed if time permits.