You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems incorrect, as the severity of those matches also has to be considered - this check should only trigger if at least one of the matches has MarkerSeverity.Error. In this case, a single warning is enough to trigger it (severity 4):
Which means the debugger isn't launched if such a task is used as a preLaunchTask, despite there not being any errors:
This was originally reported to us at the Haxe extension here: vshaxe/vshaxe#180
VS Code version: Code 1.21.1 (79b44aa, 2018-03-14T14:46:47.128Z)
OS version: Windows_NT x64 10.0.16299
The text was updated successfully, but these errors were encountered:
The underlying problem is deeper than this. The terminal itself doesn't always report the correct exit code. I will recheck what the current status with the terminal is.
Issue Type: Bug
terminalTaskSystem.ts
has a section of code that sets theexitCode
of a task to1
purely based on whether or not the problem matcher has any matches:https://github.com/Microsoft/vscode/blob/9de24bfa5bcd2a7cb5bf4e3f6bf711bc9f20290e/src/vs/workbench/parts/tasks/electron-browser/terminalTaskSystem.ts#L366-L369
This seems incorrect, as the
severity
of those matches also has to be considered - this check should only trigger if at least one of the matches hasMarkerSeverity.Error
. In this case, a single warning is enough to trigger it (severity 4):Which means the debugger isn't launched if such a task is used as a
preLaunchTask
, despite there not being any errors:This was originally reported to us at the Haxe extension here: vshaxe/vshaxe#180
VS Code version: Code 1.21.1 (79b44aa, 2018-03-14T14:46:47.128Z)
OS version: Windows_NT x64 10.0.16299
The text was updated successfully, but these errors were encountered: