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.
Summary: | Can not run/debug Subprojects sample on Windows | ||
---|---|---|---|
Product: | cnd | Reporter: | Alexander Pepin <apepin> |
Component: | Project | Assignee: | Alexander Simon <alexvsimon> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | gorrus, mmirilovic |
Priority: | P1 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | possible fix |
Description
Alexander Pepin
2011-03-03 18:23:17 UTC
mistyped, should be see also bug #194785 see also issue #196221 fixed, change set: http://hg.netbeans.org/cnd-main?cmd=changeset;node=a2bd1c26d8dc wrong fix (fix was for bug #196221) The problem occurs if cygwin is not in PATH. In that case user can run Subprojects using External Terminal or Standard Output but can not debug. Run in Internal Terminal does not work either. cygwin/bin should be in path. See http://netbeans.org/community/releases/69/cpp-setup-instructions.html *** Bug 194785 has been marked as a duplicate of this bug. *** Created attachment 106856 [details]
possible fix
Attached is a possible fix for this. But I still don't like the solution as it introduces different behavior depending on what actions were taken by user. I would prefer to force users to add cygwin to %Path% variable or to Windows Registry. Perhaps a better solution would be to have some place in Tools->Options to configure non-standard and non-detectable path to cygwin.. But this requires UI changes... After adding cygwin/bin to PATH the bug is still reproducible. It's reproducible in RC1 build. fixed, change set: http://hg.netbeans.org/cnd-main/rev/d5a0169e3e4b QA, please, verify fix Integrated into 'main-golden', will be available in build *201103110400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d5a0169e3e4b User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #196251 Can not run/debug Subprojects sample on Windows The fix is verified in dev build. Andrey, please, review fix. The fix is save. It doesn't solve all possible problems that may be introduced by user's input (environment), but it guarantees that we (NB) don't introduce this kind of problems. The fix is OK. fixed in release70: http://hg.netbeans.org/releases/rev/eb6d88a57aab verified in RC1 build 20110317 |