This is the first time I've reached for LLDB on my apple silicon, it seems to be resisting my efforts to run roc
with breakpoints set. I either see this error with r
: error: shell expansion failed (reason: could not get support executable directory for lldb-argdumper tool). consider launching with 'process launch'.
or this with process launch
: error: unable to locate debugserver
.
The point here really isn't to figure out what's wrong with my env, although I'd appreciate any suggestions.. Rather, what do you use to breakpoint / debug when contributing? dbg!
? gdb
? Or does lldb
work for you.
I personally tend to switch to Linux and gdb
(tui mode) and objdump
when doing complex debugging (though I also tend to deal with more low level roc stuff, generating raw assembly and surgical linking)
Though dbg!
is often enough for many simple cases.
Last updated: Jul 06 2025 at 12:14 UTC