5 ms·
Sometimes low level debugging is a surprisingly pleasant experience as the julia JIT generates proper DWARF debug info. So for instance, you can break in gdb an
by ChrisFoster 8y ago
Sometimes low level debugging is a surprisingly pleasant experience as the julia JIT generates proper DWARF debug info. So for instance, you can break in gdb and see the julia source code for any julia generated stack frames, neatly intertwined with the frames of the C runtime.
To be clear, I don't remember needing to do this as a regular user. As an occasional compiler hacker it's been quite nice though.
- marmaduke 8y agoThat’s cool, I wasn’t aware. I think that’s most useful when working with external libs.
- ScottPJones 8y agoAs someone who's spent decades programming in C/C++, and diving into assembly code (and writing a fair share when the compiler just couldn't do what I needed), I love being able to directly inspect the output code at many levels, including all the way down to "bare metal". Yes, there's a lot of work to be done in the area of debuggers for Julia, but there are already useful debugging tools (like Rebugger) that I haven't seen for any other language.