diff --git a/CHANGELOG.md b/CHANGELOG.md index 06b08f2f..ca9fc144 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,9 @@ Changelog structure reference: ### Fixed +- Debugger + - Build errors didn't get shown in the console + - Project - File path browse buttons in zig run configurations didn't work diff --git a/cidr/src/main/kotlin/com/falsepattern/zigbrains/debugger/runner/build/ZigDebugParametersBuild.kt b/cidr/src/main/kotlin/com/falsepattern/zigbrains/debugger/runner/build/ZigDebugParametersBuild.kt index aa2741d4..aa9e2e38 100644 --- a/cidr/src/main/kotlin/com/falsepattern/zigbrains/debugger/runner/build/ZigDebugParametersBuild.kt +++ b/cidr/src/main/kotlin/com/falsepattern/zigbrains/debugger/runner/build/ZigDebugParametersBuild.kt @@ -62,7 +62,7 @@ class ZigDebugParametersBuild( withContext(Dispatchers.IO) { val commandLine = profileState.getCommandLine(toolchain, true) if (listener.executeCommandLineWithHook(profileState.environment.project, commandLine)) - throw ExecutionException(ZigDebugBundle.message("debug.build.compile.failed.generic")) + return@withContext val cfg = profileState.configuration val workingDir = cfg.workingDirectory.path val exe = profileState.configuration.exePath.path ?: run {