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.

Bug 166652 - Stop and pause does not work on Windows
Summary: Stop and pause does not work on Windows
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Andrew Krasny
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-06-05 21:57 UTC by Egor Ushakov
Modified: 2009-06-25 10:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2009-06-05 21:57:56 UTC
Stop and pause does not work on Windows, looks like execution problems,
steps to reproduce:
- create quote project
- debug it
- try to pause the debugger
no luck
- try to kill
it closes but gdb process continues
Comment 1 Alexander Pepin 2009-06-08 11:54:38 UTC
It seems to be serious enough to be a showstopper.
Comment 2 Alexander Pepin 2009-06-08 16:19:30 UTC
It's a regression in comparison with NB 6.5.1
Comment 3 Alexander Pepin 2009-06-08 16:40:56 UTC
The fact that the debugging process is not killed prevents users from debugging problematic applications (containing
endless loop) on Windows. Until the process is killed user is unable to re-build the project as binary files are locked.
Another relative problem is that user can not terminate running program from IDE if IDE Output window is set as a
console type.
Please fix it ASAP.
Comment 4 Andrew Krasny 2009-06-09 20:57:14 UTC
Now this works but still there are problems with execution of applications that require user input (when IO goes to the
OutputTab (issue 148204))

Pushed to cnd-main for verification (http://hg.netbeans.org/cnd-main/rev/41d2364cb141)
Comment 5 Andrew Krasny 2009-06-10 17:42:04 UTC
The last issue (with run failed message in case of using msys (and no cygwin)) was caused by failure of sendSignal()
function (to test for process existence). And the root cause was that in msys kill is a built-in command and /bin/kill
just doesn't exist. Fix is to call just kill instead of /bin/kill

http://hg.netbeans.org/cnd-main/rev/060ebd205453
Comment 6 Alexander Pepin 2009-06-10 17:59:15 UTC
Great, the fix works fine!
Please review your changes and put then into release67 branch.
Comment 7 Alexey Vladykin 2009-06-10 18:12:24 UTC
I have reviewed the changes - they are correct and safe.
Comment 8 Andrew Krasny 2009-06-10 18:23:54 UTC
67 branch push: http://hg.netbeans.org/release67/rev/1c5bb667029f
Comment 9 Quality Engineering 2009-06-11 08:46:26 UTC
Integrated into 'main-golden', will be available in build *200906110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/41d2364cb141
User: Andrew Krasny <akrasny@netbeans.org>
Log: #166652: Stop and pause does not work on Windows
Comment 10 Alexander Pepin 2009-06-11 11:09:59 UTC
verified in RC3 build 2009-06-11_00-01-07