fix: show build errors in console properly
This commit is contained in:
parent
46069b9a22
commit
a950c932f5
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue