From e209f7ac66d7a7e4a616efb520faab38a93218f3 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Tue, 9 Feb 2021 17:10:24 -0800 Subject: [PATCH] Made debug command path relative to the working directory --- IDE/src/IDEApp.bf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index f31ad44c..beb2ab53 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -10825,8 +10825,8 @@ namespace IDE //options.mDebugOptions.mCommand - String launchPath = scope String(); - ResolveConfigString(mPlatformName, workspaceOptions, project, options, options.mDebugOptions.mCommand, "debug command", launchPath); + String launchPathRel = scope String(); + ResolveConfigString(mPlatformName, workspaceOptions, project, options, options.mDebugOptions.mCommand, "debug command", launchPathRel); String arguments = scope String(); ResolveConfigString(mPlatformName, workspaceOptions, project, options, "$(Arguments)", "debug command arguments", arguments); String workingDirRel = scope String(); @@ -10834,6 +10834,9 @@ namespace IDE var workingDir = scope String(); Path.GetAbsolutePath(workingDirRel, project.mProjectDir, workingDir); + String launchPath = scope String(); + Path.GetAbsolutePath(launchPathRel, workingDir, launchPath); + String targetPath = scope .(); ResolveConfigString(mPlatformName, workspaceOptions, project, options, "$(TargetPath)", "Target path", targetPath);