Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Removing "Connect" from the Debug view's toolbar

On 30/08/2012 9:41 AM, Marc Khouzam wrote:
For people's info, let's mention that when doing a remote-attach
launch ("C/C++ Attach to Application" and selecting 'gdbserver'
as the Debugger in the Debugger tab), the launch will make the
connection to the target but will not attach to any process.
It is up to the user to manually press the 'Connect' button
and choose a process to attach to.
There are a couple of relevant screenshots in the FAQ under
"Remote attach launch" in
http://wiki.eclipse.org/CDT/User/FAQ#How_do_I_debug_a_remote_application.3F

As we move more and more towards advanced debugging features
I think it can be useful to connect to a remote target
without automatically attaching.  For example, with the new
OSResources view the user will be able to inspect information
about the target itself, without needing to attach to a process.
It is with that in mind that I didn't make the 'attach' automatic
for the remote-attach launch.

Wouldn't it be better to have a special launch configuration type(s) for "empty" sessions? Currently this functionality is hidden, I'd had no idea that it was supported until you mentioned it.




Back to the top