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.
Steps to reproduce: 1. Create new file; 2. Write code and step breakpoint 3. Run debugger, all works 4. Delete file created in 1. 5. Run debugger - debugger session started and :(( hang Netbeans 6.0 (1010) SUSE 10.2
Sorry, forgot. When I delete breakpoint in breakpoint window all works.
If you delete a file then try to debug the project an error windows appears and says: "The project is empty. You will need to add a file to the project before you can build it."
In projects I have more then one file. And when I delete one file in which was breakpoint I can't run debugger.
can not reproduce the bug using the following scenario: - create a new project - add a main C++ file (newmain.cc) - add an empty C++ file (newfile.cc) - put some code into the empty file (newfile.cc) - set a breakpoint in the newfile.cc - do step into, everything is OK - stop debugger - delete newfile.cc, the breakpoint is still visible in Breakpoints window - do step into, everything is OK please provide an exact scenario to reproduce the bug
Created attachment 50811 [details] New project with all files
Created attachment 50812 [details] New project with all files
Created attachment 50813 [details] Project with deleted files
Sorry for duplicated attachments :(. In first project exists newfile.h and newfile.cc in .cc file I has set breakpoint. In second project I delete newfile.h and newfile.cc and run debugger.
Anyway I can not reproduce the bug neither on Linux nor on Windows. Please try the latest build 20071012.
I add to attachments: 1. Screen with running debugger - his is hang 2. Log with backtrace
Created attachment 50830 [details] Log
Created attachment 50831 [details] Screen
Can you run netbeans with "-J-Dgdb.console.savelog=true" and attach the log file? It should be named something like /tmp/gdb-cmds*.log (you'll get a different number for '*' each time you run, if there are more than 1, take the most recent where you had this hang).
I tried to reproduce the issue in the latest build and couldn't. Please update the issue if you still can reproduce it.
No, I run my earlier test-project (where this error was raised ) - nothing. All work. :).