remedybg-issues icon indicating copy to clipboard operation
remedybg-issues copied to clipboard

Attach to more than one process in a single session

Open McMassiveNZ opened this issue 5 years ago • 1 comments

Hi George,

I'd like to request functionality to be able to attach to and debug multiple processes in a single session, the game and editor I am working on can launch multiple process which communicate with each other over sockets.

In visual studio we can attach to all of these processes and debug them in a single session. You can switch between them with a drop down menu like this

image

Additionally there is a plugin called ChildProcessDebugging in visual studio which can detect and attach to other processes specified when we launch the debugger with a given process.

image

Above is an example of the settings for this plugin. Say we launched Editor.exe and Editor.exe also launches Game.exe and Server.exe or whatever, Remedybg would detect those processes and be able to automatically attach to them.

I guess this is technically two features but they are related. Not being able to debug multiple processes in a single session is the main reason I can not switch over to remedybg full time unfortunately so it would be great if this could be added.

Thanks!

McMassiveNZ avatar Apr 15 '20 08:04 McMassiveNZ

I‘d like to add to that: In Visual Studio, you can also start multiple processes at once, by hitting f5 (you can set multiple startup projects). I use this feature heavily, since I‘m working on a multiplayer game. I have 2 projects that both start the game executable, but with different parameters. One process acts as the server, the other as the client.

For me, this is the main reason to use visual studio right now. I realize that this is a major feature request, but I think it would enable me to switch to remedy as my primary debugger.

So let me summarize: I would like to request the features to set multiple startup executables, each with separate cmd, parameters and env-variables, to be able to start them simultaneously, and to switch between them in the debugger.

simonvanbernem avatar Apr 17 '20 06:04 simonvanbernem