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.
If you try to attach debugger to a program which lays for example in c:\Program Files you will get an error message C:\\Program: No such file or directory. in executable line of attach dialog you can see just c:\program instead of the whole path It's a regression compared to 6.9 and renders debugger unusable in many scenarios
As Simple attach works fine I guess the problem is only in getting executable in Attach dialog. Egor, how risky is the possible fix?
It does not work on Mac either with the same behavior.
BTW on all systems Attach Dialog shows in "executable" field only the part of the path before space.
fixed for windows: http://hg.netbeans.org/cnd-main/rev/66593df7f9fb also now on all platforms we show full executable line for macos please file another bug
verified on all platforms in dev build #5105 The fix works for both Windows and Mac and I believe it's worth pushing into release70. Please review the fix to be ready to push it without delay as soon as the push approved.
(In reply to comment #5) > The fix works for both Windows and Mac and I believe it's worth pushing into > release70. Please review the fix to be ready to push it without delay as soon > as the push approved. Ok I agree with integration into release70, we are still waiting for one important fix in Editor which will be done today, so also please proceed with push into release70 TODAY CEST.
fix is reviewed.
integrated into release70: http://hg.netbeans.org/releases/rev/febdcf6810b3
Very good, that was quick :). Thank you guys
to Luky: Thank you for reporting the bug!
Integrated into 'main-golden', will be available in build *201104070400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/66593df7f9fb User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #197464 (Can't attach debugger to any program with space in the path)
verified in RC2 build 201104070802.
This bug seems to be back in 201112071828. I tried a fresh install of 201202250400, showed up there too.
Confirmed. The bug is back again.
fix was removed as a result of incorrect merge, applied it once again: http://hg.netbeans.org/cnd-main/rev/7c99903b38b3
Integrated into 'main-golden', will be available in build *201203220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7c99903b38b3 User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #197464 (Can't attach debugger to any program with space in the path) - fix was removed by mistake
I think there was a regression. On Windows 7 with NetBeans IDE 8.0.2 (Build 201411181905) it doesn't work.
fixed, change set: http://hg.netbeans.org/cnd-main/rev/dfd8167964ef
Integrated into 'main-silver', will be available in build *201507160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/dfd8167964ef User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #197464 Can't attach debugger to any program with space in the path