Debuggers that support enums when viewing data?

51 points rundevelopment

I'm currently debugging a Rust programs with thousands of lines of code I did not write. The program uses enums everywhere for its data structures and enums where each variant has more enums as data are common.

I want to understand the program better by looking at what data is flowing around the program for various inputs, but the debugger is so bad at displaying enum values that it's very difficult.

I'm using lldb in VSCode and most of the time and this is what I see:

https://preview.redd.it/xok4hg5qer0e1.png?width=402&format=png&auto=webp&s=fa79ebfe7d873f47fd332c101f953a882feae6ba

The last one isn't an enum but a string. Even basic data types like strings look like this (4 levels deep and I finally get to see the string value):

Most of my day-to-day debugging is in JS/TS where debuggers are nothing short but excellent in that regard, so this is honestly shocking to me.

Are there debuggers with better support for Rust out there or am I doomed?