See also statistics.netbeans.org/analytics/detail.do?id=226946
When I try to "Attach Debugger...", I'm presented with a dropdown where I pick a Host, I can specify a filter and then I can pick an executable from the list. So far so good.
In 8.1, I used to leave the "Project" field empty (<no project>) because the application I need to debug is quite complex and is composed of multiple executables launched with a complex set of scripts. When I pressed "Ok" I presume Gdb would just be given the path of the exe I had just selected in the list.
Now in 8.2, if I leave the "Project" field empty, I have the following exception:
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
My workaround is to copy the path of the executable, specify my project and then paste the path in the subsequent dialog. Could the path of the clicked executable could at least be the default selection? The exe I want is nowhere near my project folder, and the only exe's I'm presented with are those found somewhere in my Home folder because "No executable specified in project".
Thanks for the good work, I much prefer doing C++ dev in NetBeans than Eclipse!
Thank you for the detailed description. The bug is 100% reproducible. It will be fixed shortly.
*** Bug 268679 has been marked as a duplicate of this bug. ***
It's a regression caused by
And it is also caused by the absence of the null check in remote.
So it's kind of both remote and debugger issue.
I fixed it in enum repo, change set 8307394dd236
Integrated into 'main-silver', will be available in build *201610310002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Vladimir Kvashin <email@example.com>
Log: fixed #268698 - NullPointerException when attaching debugger without specifying a project
(transplanted from 8307394dd2369c635707d2d2b77e56631fe7ed5f)
Verified in NetBeans IDE 8.2 (Build 201612122312)