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 193314 - FreeBSD: Remote debugging: no "green arrow" on break point
Summary: FreeBSD: Remote debugging: no "green arrow" on break point
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on: 193230
Blocks:
  Show dependency tree
 
Reported: 2010-12-13 08:41 UTC by Sebastian.Meier
Modified: 2016-07-06 14:38 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-13 08:41:06 UTC
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) 
Comment 1 Egor Ushakov 2010-12-13 14:44:54 UTC
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.
Comment 2 Egor Ushakov 2010-12-15 12:19:26 UTC
should be fixed with the fix of bug 193230, also please try standard output as console type and reopen if still valid
Comment 3 Sebastian.Meier 2010-12-17 10:29:01 UTC
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)
Comment 4 Egor Ushakov 2010-12-21 14:53:31 UTC
internal terminal is not supported on freeBSD yet, use standard output as a workaround
Comment 5 Sebastian.Meier 2010-12-22 08:34:14 UTC
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).
Comment 6 Egor Ushakov 2010-12-22 09:23:46 UTC
in 6.9.1 default console type for remote mode was "standard output", in 7.0 it was changed to "internal terminal".
Comment 7 Alexander Pepin 2011-01-19 17:37:33 UTC
Currently FreeBSD is not in the list of NB supported platforms. The bug will be fixed if time permits.