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

Detaching from process is killing the process

Open chrisbriend opened this issue 1 year ago • 1 comments

After attaching to a process, detaching from it results in the process being killed. While I expect this to be the behavior when stopping the debugging session, I was expecting to be able to detach from the process and keep it going to be able to reattach to it later..

chrisbriend avatar Jun 13 '23 00:06 chrisbriend

@chrisbriend I'm unable to reproduce this in the latest version of RemedyBG (0.3.9.4). Steps I tried:

  • Launch an instance notepad.exe to use as a test.
  • Session | Attach to Process and type notepad in filter and select notepad.exe. Note process is halted (this behavior will probably change or be configurable in a later release).
  • Session | Detach to detach from the suspended process. Note that notepad is still running.
  • Session | Reattach Process to attach to notepad.exe again.
  • F5 to continue running.
  • Session | Detach to detach from the running process. Note that notepad is still running.

This is most likely a timing issue that I'm overlooking and will hammer on it some more. Apologies for the trouble!

x13pixels avatar Nov 03 '23 14:11 x13pixels