Scenario: Our program launches adplus at startup to monitor for crashes. So there is a cdb.exe process running.
At some point we want to detach cdb.exe but leave the program running.
Is there any way to do this? There is no UI for the cdb process.
I'm looking for some sort of way to do this from the command line.
Currently if we kill cdb, it also kills our process.
Perhaps it's simply the
-lcqdcommand line option, which causes the last command to beqd.If that's not what you want, you can let AdPlus generate the script it's using with the
-gsswitchWhen you have the switch, you can add
as the last but one command (just before
g). You'd then runcdbwith the-cfcommand line switch and run that script.Then, from your application, use
to quit and detach.