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 dev build 201012130001, installed on a Windows system, to remote develop on a FreeBSD 7.3 system. I am now able to start a remote debugging session, but I don't get the "green arrow". The program seems to stop alright, but I can't step through the code etc. Here is the debug console output: ~"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/M2048/netbeans/Run/M2048.unittest.debug.binary" 1^done (gdb) 2^done (gdb) 3^done (gdb) 4-file-list-exec-source-file 5cd /usr/home/devel/2030/trunk/M2048/netbeans/Run 6-exec-arguments 4^done,line="2",file="../../unittest/main.cpp",fullname="/usr/home/devel/2030/trunk/M2048/unittest/main.cpp" (gdb) 7-break-insert "/usr/home/devel/2030/trunk/M2048/unittest/game_test/riskconfigtest.cpp:24" 1 8-break-insert -t _start &"cd /usr/home/devel/2030/trunk/M2048/netbeans/Run\n" ~"Working directory /usr/home/devel/2030/trunk/M2048/netbeans/Run.\n" 5^done (gdb) 6^done (gdb) 7^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x080b05da",func="RiskConfigTest::testGlobalValues()",file="../../unittest/game_test/riskconfigtest.cpp",fullname="/usr/home/devel/2030/trunk/M2048/unittest/game_test/riskconfigtest.cpp",line="24",times="0"} (gdb) &"\n" 1^done (gdb) 8^done,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x08057780",at="<_start>",times="0"} (gdb) No command for record 1^done 9-exec-run 9^running (gdb) 9*stopped,thread-id="0",frame={addr="0x08057780",func="_start",args=[]} (gdb) 10info proc &"info proc\n" &"Undefined info command: \"proc\". Try \"help info\".\n" 10^error,msg="Undefined info command: \"proc\". Try \"help info\"." (gdb) 11info threads &"info threads\n" &"warning: Couldn't restore frame in current thread, at frame 0\n" ~"0x08057780 in _start ()\n" 11^done (gdb) 12-exec-continue 12^running (gdb) W_GameEndTest::testStop : OK W_GameEndTest::testFinish : OK quickgames::QuickDataTest::ConstructTest : OK quickgames::QuickDataTest::GetGamesCountTest : OK quickgames::QuickDataTest::GetConfigGameIdTest : OK quickgames::QuickDataTest::GetGameAmountTest : OK quickgames::QuickDataTest::GetGameBlockCountTest : OK RiskConfigTest::testGlobalValues12*stopped,reason="breakpoint-hit",bkptno="1",thread-id="0",frame={addr="0x080b05da",func="RiskConfigTest::testGlobalValues",args=[{name="this",value="0x2871f094"}],file="../../unittest/game_test/riskconfigtest.cpp",fullname="/usr/home/devel/2030/trunk/M2048/unittest/game_test/riskconfigtest.cpp",line="24"} (gdb)
what kind of console are you using? Something is wrong with output... Please check project properties/run/console type and try different values. Application output should never go to gdb log. Maybe the problem is this.
should be fixed with the fix of bug 193230, also please try standard output as console type and reopen if still valid
NetBeans IDE Build 201012150001 When I select "Standard Output", it's fine, but I'm still getting the same faulty behaviour when I select "Internal Terminal" or "External Terminal": ~"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/M2048/netbeans/Run/M2048.unittest.debug.binary" 1^done (gdb) 2^done (gdb) 3^done (gdb) 4-file-list-exec-source-file 5cd /usr/home/devel/2030/trunk/M2048/netbeans/Run 6-exec-arguments 4^done,line="2",file="../../unittest/main.cpp",fullname="/usr/home/devel/2030/trunk/M2048/unittest/main.cpp" (gdb) 7-break-insert "/usr/home/devel/2030/trunk/M2048/unittest/game_test/w_riskchangetest.cpp:65" 1 8-break-insert -t _start &"cd /usr/home/devel/2030/trunk/M2048/netbeans/Run\n" ~"Working directory /usr/home/devel/2030/trunk/M2048/netbeans/Run.\n" 5^done (gdb) 6^done (gdb) 7^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x080b4a00",func="W_RiskChangeTest::testStop()",file="../../unittest/game_test/w_riskchangetest.cpp",fullname="/usr/home/devel/2030/trunk/M2048/unittest/game_test/w_riskchangetest.cpp",line="65",times="0"} (gdb) &"\n" 1^done (gdb) 8^done,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x08057780",at="<_start>",times="0"} (gdb) No command for record 1^done 9-exec-run 9^running (gdb) 9*stopped,thread-id="0",frame={addr="0x08057780",func="_start",args=[]} (gdb) 10info proc &"info proc\n" &"Undefined info command: \"proc\". Try \"help info\".\n" 10^error,msg="Undefined info command: \"proc\". Try \"help info\"." (gdb) 11info threads &"info threads\n" &"warning: Couldn't restore frame in current thread, at frame 0\n" ~"0x08057780 in _start ()\n" 11^done (gdb) 12-exec-continue 12^running (gdb) W_GameEndTest::testStop : OK W_GameEndTest::testFinish : OK quickgames::QuickDataTest::ConstructTest : OK quickgames::QuickDataTest::GetGamesCountTest : OK quickgames::QuickDataTest::GetConfigGameIdTest : OK quickgames::QuickDataTest::GetGameAmountTest : OK quickgames::QuickDataTest::GetGameBlockCountTest : OK RiskConfigTest::testGlobalValues : OK RiskConfigTest::testStepFirst : OK RiskConfigTest::testStepLast : OK RiskConfigTest::testStepPlayoff : OK RiskConfigTest::testDiceCommonValues : OK RiskConfigTest::testDiceMemberFirst : OK RiskConfigTest::testDiceMemberLast : OK W_RiskChangeTest::testWork : OK W_RiskChangeTest::testStop12*stopped,reason="breakpoint-hit",bkptno="1",thread-id="0",frame={addr="0x080b4a00",func="W_RiskChangeTest::testStop",args=[{name="this",value="0x28706a70"}],file="../../unittest/game_test/w_riskchangetest.cpp",fullname="/usr/home/devel/2030/trunk/M2048/unittest/game_test/w_riskchangetest.cpp",line="65"} (gdb)
internal terminal is not supported on freeBSD yet, use standard output as a workaround
Well I really don't mind, because it doesn't bother me much. But just for information, this was working fine up to NetBeans 6.9.1 (included).
in 6.9.1 default console type for remote mode was "standard output", in 7.0 it was changed to "internal terminal".
Currently FreeBSD is not in the list of NB supported platforms. The bug will be fixed if time permits.