3 ms·
CLion adds the power of IntelliJ debuggers to Rust. It works exceptionally well.
by freeone3000 2y ago
CLion adds the power of IntelliJ debuggers to Rust. It works exceptionally well.
- gooosle 2y agoDoes it support evaluating code, in context, while debugging?
- freeone3000 2y agoYes*, mostly It can do any single expression, and the results are better than lldb, but it can’t do multiple statements and not everything in Rust can be one expression; you can’t use {} here
- nicce 2y agoDo you have more information about this? Last time I debugged Rust with CLion/RustRover, the debugger was the same as VSCode uses.
- freeone3000 2y agoSure. It’s got breakpoints, and conditional breakpoints, using the same engine as IntelliJ. It’s got evaluate, it’s got expression and count conditionals, it’s got rewind. It has the standard locals view. Rust support has improved in 2024 pretty strongly (before this year it just shelled out to lldb); the expr parser and more importantly the variable viewer are greatly improved since January.