Repository navigation
Replies: 1 comment
|
watch panel uses codelldb's "simple" expression evaluator by default, and that one doesn't play nice with zig's debug info. since plain or for everything, in launch.json: "expressions": "native"that should get n1/n2/result show up in Watch. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Windows 11 22H2 (OS Build 22621.6060)
Visual Studio Code v1.143.1
zig 0.17.0
lldb version 22.1.8-codelldb
hi, anyone successfully F5 step debugging a pure Zig program under VSCode ?
The variables "n1", "n2", "result" added under Watch panel shown nothing as picture below, the problem is the "Watch" pane failed, is not practical for me to base on "Variables" pane as I need to watch specific variables only.
launch.json:
Compile format using:
zig build-exe test.zig -fllvm -target x86_64-windows-gnuLLDB Debug under console mode:
Please advise.
All reactions