Tweaks to Process helper class and bug fix

This commit is contained in:
Nav
2022-09-15 20:18:26 +01:00
parent 054bde947b
commit 1f0a82d599
5 changed files with 34 additions and 24 deletions

View File

@@ -125,7 +125,7 @@ namespace Bloom::DebugServer::Gdb
std::bind(&GdbRspDebugServer::onTargetExecutionStopped, this, std::placeholders::_1)
);
if (Process::isManagedByClion(Process::getParentProcessId())) {
if (Process::isManagedByClion()) {
Logger::warning(
"Bloom's process is being managed by CLion - Bloom will automatically shutdown upon detaching from GDB."
);