Community
Participate
Working Groups
Build Identifier: 20110916-0149 I usually debug using the "Attach to Process". I've filled the "C/C++ Application" (binary name) in the setting, but each time I start this, I have to select the executable which I would like to be attached to. In my situation, there is only one of this instance. So I would like to propose this new feature => Add a checkbox 'automatically attach to this executable it only one is running' Reproducible: Always
I'm hesitant to add a new UI option. We have too many already. And then we could want a similar option that says "Auto attach to all processes matching this executable", since we can do that with multi-process debug. How about if we automatically select the first process that matches the binary in the attach dialog and you simply have to press on the OK button?
> How about if we automatically select the first process that matches the binary in the attach dialog and you simply have to press on the OK button? That would do the job :)
I think in the debug configuration you should be able to specify to auto-attach when there is only one proccess running from the given executable file.
I like the proposed feature. What about implementing the proposal from comment 1 first (still open the dialog but with the right process preselected). If that is implemented, it can be tested and the request for no longer showing the dialog is a separate item. Note that this request is somehow the opposite of bug 400033 : Here we know the exe and want to auto-compute the PID. In bug 400033, user selects the PID and we want to auto-compute the exe.