-
Debugging Zig on VSCode on macOS(zig init-exe❤️로 프로젝트 만들자)코딩Coding/Zig_❤️lang 2023. 1. 16. 17:56728x90
Debugging Zig on VSCode on MacOS
I'm using the CodeLLDB extension as well as ZLS and the Zig builder extension by prime31. When I try to debug the debugger doesn't stop at...
www.reddit.com
Debugging Zig on VSCode on MacOS
I'm using the CodeLLDB extension as well as ZLS and the Zig builder extension by prime31. When I try to debug the debugger doesn't stop at breakpoints but just runs to completion. I'm doing a debug build so there are/should be debug symbols in the executable.
My launch.json is this:
``` {
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "lldb",
"request": "launch",
"program": "./zig-cache/o/6df7457188788ecc96b96e982979875f/test",
// "args": ["hello-world.zig"],
"cwd": "${workspaceRoot}",
}
]
}```
Suggestions appreciated.{ "version": "0.2.0", "configurations": [ { "name": "Debug", "type": "lldb", "request": "launch", "program": "./zig-cache/o/6df7457188788ecc96b96e982979875f/test", // "args": ["hello-world.zig"], "cwd": "${workspaceRoot}", } ] }
반응형'코딩Coding > Zig_❤️lang' 카테고리의 다른 글
3 things you might like about Zig (0) 2023.02.10 Zig💕Why a linker author had to write a YAML parser in Zig (0) 2023.02.10 zig❤️zig-postgres updated to zig master (0) 2023.02.01 Zig의 첫인상 (0) 2023.01.16 A template for Advent of Code participants using Zig (0) 2023.01.16 Learn Zig or C first? (0) 2023.01.16 zig project 각종 예제가 많다 (0) 2023.01.16 Zig❤️Should You Learn C Before Zig? (0) 2023.01.15