DEV Community

Discussion on: How to debug Rust program

Collapse
 
yjdoc2 profile image
YJDoc2

Great article! I learnt about the dbg macro and conditional debugging 😁
Along with these, as rust compiles to binary, one can also use gdb as one would use on c programs to debug it...but I guess vs code breakpoints would be easier...😅

Collapse
 
lechatthecat profile image
lechat • Edited

one can also use gdb as one would use on c programs to debug it

Thank you for the information, I didn't know it :)