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.
Line breakpoints doesn't work in default directory (C:/Document and Settings) Scenario: - Create Welcome - Push Step Into - Set line breakpoint in welcome.cc ==> breakpoint is marked as broken ~"GNU gdb 6.8\n" ~"Copyright (C) 2008 Free Software Foundation, Inc.\n" ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n" ~"This is free software: you are free to change and redistribute it.\n" ~"There is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\n" ~"and \"show warranty\" for details.\n" ~"This GDB was configured as \"i686-pc-mingw32\".\n" &"C:\\\\Documents and Settings\\\\tester/.gdbinit: No such file or directory.\n" (gdb) 2-gdb-set print repeat 0 3-gdb-set backtrace limit 1024 4-file-exec-and-symbols "C:\\Documents and Settings\\tester\\My Documents\\NetBeansProjects\\Welcome_3\\dist/Debug/MinGW-Windows/welcome_3" 2^done (gdb) 3^done (gdb) 4^done (gdb) 5-file-list-exec-source-file 5^done,line="24",file="welcome.cc",fullname="C:\\Documents and Settings\\tester\\My Documents\\NetBeansProjects\\Welcome_3/welcome.cc",macro-info="0" (gdb) 6cd C:\Documents and Settings\tester\My Documents\NetBeansProjects\Welcome_3 7-exec-arguments "arg 1" "arg 2" "arg 3" "arg 4" 8-break-insert -t main 9-exec-run 10info threads &"cd C:\\Documents and Settings\\tester\\My Documents\\NetBeansProjects\\Welcome_3\n" ~"Working directory C:\\Documents and Settings\\tester\\My Documents\\NetBeansProjects\\Welcome_3.\n" 6^done (gdb) 7^done (gdb) 8^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x004013ba",func="main",file="welcome.cc",fullname="C:\\Documents and Settings\\tester\\My Documents\\NetBeansProjects\\Welcome_3/welcome.cc",line="33",times="0"} (gdb) 9^running (gdb) ~"Warning: Failed to open TTY /dev/tty0, error 0x3\n" ~"[New thread 1372.0x4c0]\n" 9*stopped,thread-id="1",frame={addr="0x004013ba",func="main",args=[{name="argc",value="5"},{name="argv",value="0x3e3e78"}],file="welcome.cc",fullname="C:\\Documents and Settings\\tester\\My Documents\\NetBeansProjects\\Welcome_3/welcome.cc",line="33"} (gdb) &"info threads\n" ~"* 1 thread 1372.0x4c0 main (argc=5, argv=0x3e3e78) at welcome.cc:33\n" 10^done (gdb) 11-stack-list-frames 11^done,stack=[frame={level="0",addr="0x004013ba",func="main",file="welcome.cc",fullname="C:\\Documents and Settings\\tester\\My Documents\\NetBeansProjects\\Welcome_3/welcome.cc",line="33"}] (gdb) 12-stack-list-arguments 1 12^done,stack-args=[frame={level="0",args=[{name="argc",value="5"},{name="argv",value="0x3e3e78"}]}] (gdb) 13-exec-next 13^running (gdb) 13*stopped,reason="end-stepping-range",thread-id="1",frame={addr="0x004013bf",func="main",args=[{name="argc",value="5"},{name="argv",value="0x3e3e78"}],file="welcome.cc",fullname="C:\\Documents and Settings\\tester\\My Documents\\NetBeansProjects\\Welcome_3/welcome.cc",line="35"} (gdb) 14-stack-list-frames 14^done,stack=[frame={level="0",addr="0x004013bf",func="main",file="welcome.cc",fullname="C:\\Documents and Settings\\tester\\My Documents\\NetBeansProjects\\Welcome_3/welcome.cc",line="35"}] (gdb) 15-stack-list-arguments 1 15^done,stack-args=[frame={level="0",args=[{name="argc",value="5"},{name="argv",value="0x3e3e78"}]}] (gdb) 16-break-insert "C:/Documents and Settings/tester/My Documents/NetBeansProjects/Welcome_3/welcome.cc:38" &"Function \"C\" not defined in loaded symbols.\n" 16^error,msg="Function \"C\" not defined in loaded symbols." (gdb)
And a lot of NPE if I switch off this breakpoint in Breakpoints tab
fixed in: http://hg.netbeans.org/cnd-main/rev/3a67d1e013f2 now we send short paths if spaces detected
Integrated into 'main-golden', will be available in build *201101140000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3a67d1e013f2 User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #194264 (Line breakpoints doesn't work in default directory (C:/Documents and Settings) )