Using GoLand 2024.2
and Go 1.22
on Windows 11, I attempted to set the environment variable GORACE=halt_on_error=1
to trigger a program output as soon as the first race condition is detected.
Configuration details:
-
Environment Variables:
- Name:
GORACE
- Value:
halt_on_error=1
- Name:
-
Go tool arguments:
-race
After applying these settings, the program did not produce the expected results. Assistance in resolving this issue would be appreciated.