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.
Ubuntu 10.10 NetBeans 201011180001 Scenario: - Create Welcome project - Set line breakpoint in 35th line - Press "Debug Main Project" ===> debugger stopped in _start() log: =thread-group-added,id="i1" ~"GNU gdb (GDB) 7.2-ubuntu\n" ~"Copyright (C) 2010 Free Software Foundation, Inc.\n" ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n" ~"This GDB was configured as \"x86_64-linux-gnu\".\nFor bug reporting instructions, please see:\n" ~"<http://www.gnu.org/software/gdb/bugs/>.\n" &"/export/home/tester/.gdbinit: �\235е�\202 �\202акого �\204айла или ка�\202алога.\n" (gdb) No command for token 0 1-file-exec-and-symbols "/export/home/tester/NetBeansProjects/Welcome_debug/dist/Debug/GNU-Linux-x86/welcome_debug" 1^done (gdb) 2-file-list-exec-source-file 3cd /export/home/tester/NetBeansProjects/Welcome_debug 4-exec-arguments "arg 1" "arg 2" "arg 3" "arg 4" 2^done,line="26",file="welcome.cc",fullname="/export/home/tester/NetBeansProjects/Welcome_debug/welcome.cc",macro-info="0" (gdb) 5-break-insert welcome.cc:35 1 6-break-insert -t _start &"cd /export/home/tester/NetBeansProjects/Welcome_debug\n" ~"Working directory /export/home/tester/NetBeansProjects/Welcome_debug.\n" 3^done (gdb) 4^done (gdb) 5^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00000000004008a4",func="main(int, char**)",file="welcome.cc",fullname="/export/home/tester/NetBeansProjects/Welcome_debug/welcome.cc",line="35",times="0",original-location="welcome.cc:35"} (gdb) &"\n" 1^done (gdb) 6^done,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x00000000004007b0",at="<_start>",times="0",original-location="_start"} (gdb) No command for token 1 7-exec-run =thread-group-started,id="i1",pid="6118" =thread-created,id="1",group-id="i1" 7^running *running,thread-id="all" (gdb) No command for token 0 No command for token 0 =library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1" No command for token 0 =library-loaded,id="/usr/lib/libstdc++.so.6",target-name="/usr/lib/libstdc++.so.6",host-name="/usr/lib/libstdc++.so.6",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/libm.so.6",target-name="/lib/libm.so.6",host-name="/lib/libm.so.6",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/libgcc_s.so.1",target-name="/lib/libgcc_s.so.1",host-name="/lib/libgcc_s.so.1",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/libc.so.6",target-name="/lib/libc.so.6",host-name="/lib/libc.so.6",symbols-loaded="0",thread-group="i1" No command for token 0 No command for token 0 No command for token 0 No command for token 0 *stopped,reason="breakpoint-hit",disp="del",bkptno="2",frame={addr="0x00000000004007b0",func="_start",args=[]},thread-id="1",stopped-threads="all",core="0" (gdb) 8-stack-info-frame 8^done,frame={level="0",addr="0x00000000004007b0",func="_start"} (gdb) 9-stack-list-frames 9^done,stack=[frame={level="0",addr="0x00000000004007b0",func="_start"}] (gdb) 10-stack-list-arguments 1 10^done,stack-args=[frame={level="0",args=[]}] (gdb)
on some platforms gdb does not provide token for "stopped" record
Ubuntu 10.10 is a primary NB platform and that bug causes lots of test failures. Please fix it ASAP.
fixed in: http://hg.netbeans.org/cnd-main/rev/9fbf9152ca61
Integrated into 'main-golden', will be available in build *201012100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9fbf9152ca61 User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #192093 (debugger stopped in _start() instead of line breakpoint)
*** Bug 192542 has been marked as a duplicate of this bug. ***