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.
The build window used to display the return code of the application and print something like "Failed. Return code = 5" when the application failed (returned something different than 0). Now it always says "Succeeded. Return code = 0" because it probably displays the return code of the start command and not the application. If you switch to internal window, it works as expected.
When I run a C++ program that's cause an exception, then gnome-terminal appears with '/opt/netbeans-5.5/cnd1/bin/dorun.sh: line 38: 12479 Aborted "$pgm" "$@" [Press Enter to close window]' message. But I think, user expects 'program terminated' or other same message in this case. When I press 'Enter' then 'Run successful. Exit value 0.' message appears. I used this code: ------------------------------ int main() { throw 1; return 0; } ------------------------------
*** Issue 89782 has been marked as a duplicate of this issue. ***
Fixed
Verified in build 20080117