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.
Scenario: - Create Quote project - Call "Project Properties" window - Set Run|Console Type = Output Window - Set Profile|Show profiling indicators during run = false - Press OK button - Launch project from IDE - Set line breakpoint into quote.cc:123 - Push "Attach debugger" button in Output tab - Type "Ann" in Output Tab ==> debugger stopped in 123th line - Push "Finish Debugger Session" button ==> debugger finished - Push "Stop" button in Output tab ==> Button is disabled, but proccess is not terminated WORKAROUND: type ENTER key ~5 times
Should be fixed in 6.9.1
The same problem happens on Gentoo Linux
Please report on progress, especially if you can make it into 6.9.1, if not please consider removing 6.9.1_CANDIDATE keyword. Thanks, -R
Please report on progress with fixing this bug. Deadline is approaching and this bug is not even resolved-fixed. Please inform me if you can do all the work on bugfix and verification by 1 pm Prague time today (for both - time to deliver status and time to deliver verified bugfix). Thanks, -R
Well... There were some small fixes that fix Linux part mentioned in the issue.. Unfortunately looks like Mac part has other root cause and it is in gdb attach to a process that interacts with users (requires input)... So it's unlikely that the issue will be fixed by the deadline. Perhaps it should be described in release notes.. I'll provide more details slightly later...
So... Below are my observations: [1] gdb doesn't work when program requires input (like quote does) [on MacOS] Actually what happens is that input stream get closed once gdb is attached/detached. The problem with the quote sample is that it doesn't handle this situation and falls into endless loop in case input stream is closed. The easy way to reproduce this behavior without IDE is: - start quote in a terminal; find-out it's PID - start gdb in another terminal. (gdb) attach $PID (gdb) cont ^C (gdb) detach As a result, quote falls into an endless loop. The same effect also happens when attach to a process from within the IDE and set/unset a breakpoint (if no breakpoint was set before attach).. [2] after detaching (from a user program that is written so that it doesn't handle eof of input stream), gdb leaves the process in zombie state and it cannot be killed even with SIGKILL.. So this is why IDE fails to stop the process.. So my suggestion would be to write a note in release notes that attaching to a process that requires user interaction not supported on MacOS... As for comment #2 I'm going to file another IZ as it is about different situation. It would be good to propagate the fixes of this into 6.9.1...
New bug regarding comment #2 filed: Bug 188086 - Progress bar indicating process is started is not always removed on process termination
Removed 6.9.1_CANDIDATE keyword