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 151492 - Can not attach to process on Windows
Summary: Can not attach to process 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: _ gordonp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 16:32 UTC by Alexander Pepin
Modified: 2009-06-25 10:59 UTC (History)
0 users

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 Alexander Pepin 2008-10-27 16:32:30 UTC
It's reproducible on both XP and Vista
Steps to reproduce:
- create any application which waits for input (e.g. Quote)
- clean and build it
- run application from IDE
- try to attach to the application process
Result: Attempt fails with message "The executable associated with the selected project does not match the selected
process ID"


Created an attachment (id=72688)
Attempting to attach to Quote on Vista

see also issue #147788
Comment 1 Alexander Pepin 2008-10-27 16:34:07 UTC
It's a potential showstopper for NB 6.5 FCS
Comment 2 Alexander Pepin 2008-10-27 17:13:21 UTC
It worked fine some time ago. So it can be treated as a regression.
Comment 4 _ gordonp 2008-10-28 02:43:10 UTC
Fixed in http://hg.netbeans.org/main?cmd=changeset;node=506dae811813
Comment 5 Alexander Pepin 2008-10-28 15:00:54 UTC
The second part of this issue is a MSYS/MinGW compatibility. Now we can not attach to process if the project uses MinGW
tools collection. MSYS processes are just invisible in Attach dialog. Probably we need to create a separate issue for this.
Comment 6 Alexander Pepin 2008-10-28 15:30:28 UTC
A new issue #151610 "Can not attach to MinGW project on Windows" has been created.
Comment 7 Quality Engineering 2008-10-28 16:46:54 UTC
Integrated into 'main-golden', will be available in build *200810281401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/506dae811813
User: Gordon Prieur <gordonp@netbeans.org>
Log: Fixed IZ #151492  Can not attach to process on Windows
Comment 8 Alexander Pepin 2008-10-28 20:03:51 UTC
verified in trunk build 200810281401
Comment 9 Egor Ushakov 2008-10-29 15:53:57 UTC
code changes reviewed and approved
Comment 10 Alexander Pepin 2008-10-29 16:00:32 UTC
Reopened and marked with 65_HR_FIX keyword to follow the Code Freeze Process
Comment 11 _ gordonp 2008-10-29 18:08:25 UTC
Fixed in release65 with http://hg.netbeans.org/release65?cmd=changeset;node=dee6076d71cd
Comment 12 soldatov 2008-11-01 09:55:11 UTC
verified in a preliminary FCS build