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: - Open NB; - Create a new project - sample application "Quote" - Push 'Debug Main Project' button (no need to add any breakpoints) - application will be compiled and run up to the place when it waits for user nput. - Push 'Pause' button - nothing happens on Windows. On other platforms it works - user can see several frames in call stack and that program was in _read function and that it was called from quote.cc:55 (cin >> customerName;)
This problem is caused because when the Windows process gets interrupted its in an (ugly) Exception stack. I thought this would be very confusing to users so I silently step until I get back to user code. In this case, since the interrupted read is reentered, the silent stepping blocks on the read.
Pause is now working (its instantaneous with MinGW's gdb, but takes 20-30 seconds with Cygwin's gdb). You can now enter commands and set breakpoints (you can also now set breakpoints on a running process). The stack displayed at the stop does not contain user functions and I've filed 117126 for that issue.