#FireDBG – A Time Travel Visual Debugger for Rust

67 messages · Page 1 of 1 (latest)

toxic coyote
#

This looks really interesting

steady geyser
#

We’ve been working on this debugger just about a year now. Time travel debugging isn’t a new concept, the new idea here is to use call tree visualisation to help us navigate the debug trace.

It supports various Linux distros on x64 and macOS on x64 and M1. It’s only available for Rust right now, but we do want to bring this debugging experience to other programming languages. Please give it a try! Would love to know your thoughts.

toxic coyote
#

I'm afraid I can't get it to work. The farthest I got was it complaining that my builds are optimised (which they are not)

steady geyser
#

Maybe try and download the Testbench?

toxic coyote
#

warning: day11 was compiled with optimization - stepping may behave oddly; variables may not be available.
I get this and an empty ss file

steady geyser
#

The warning message is expected

#

FireDBG installed with self-tests all pass?

toxic coyote
#

Yes

steady geyser
#

Hmmmm this is odd

toxic coyote
#

It does with in the testbench, but not in my projects

steady geyser
#

Oh okay

#

I see

#

Did your own project contains async?

toxic coyote
#

No async

steady geyser
#

Is it a binary, example, unit test or integration test?

toxic coyote
#

A binary

steady geyser
#

Try executing RUST_LOG=trace firedbg run <BINARY>, it should show all the breakpoints info etc

#

Any breakpoints?

toxic coyote
#

not that I can tell

#

I'll push the branch i mutilated for this so you can have a go and see if there's something weird

#

(mutilated because most of the code was on nightly, which you don't have a build for)

rotund dome
#

looks cool!
it doesn't have a license, what are you planning here?

toxic coyote
#

I gotta go, don't have time to debug further, but I really like the idea and best of luck in the future

steady geyser
#

We will get back to you

amber fulcrum
#

woooo amazing stuff!

fickle gate
#

This looks really interesting, I'm curious to see how far this can be pushed

edgy hawk
#

That's really impressive, I will try it later today. Just a quick question, it only works for VS Code? @steady geyser

steady geyser
steady geyser
steady geyser
steady geyser
# toxic coyote Aha! Yay 😄

Hey @toxic coyote, you can now download FireDBG 1.74.1 and try again!

curl https://raw.githubusercontent.com/SeaQL/FireDBG.for.Rust/main/install.sh -sSf | sh
amber fulcrum
#

Are there any plans to have FireDBG work with Windows using ETW or dtrace, both of which flamegraph can use?

toxic coyote
whole depot
#

couldnt make it work on windows, its very problematic

steady geyser
steady geyser
toxic coyote
whole depot
steady geyser
whole depot
#

it is in PATH on windows but for some reason wsl cant see it

steady geyser
#

You should install Rust inside WSL 2

rotund dome
#

WSL is entirely separate from windows in that way

steady geyser
#

that's why the install script compliant Rust is missing

amber fulcrum
#

Shame I can't really use WSL2 at work ferrisSkull

whole depot
#

i still cant make it work, i installed successfully on wsl2 but vscode still cant see it i guess because it's only on the wsl side and clicking "install firedbg cli" on windows doesn't work because it tries to install from windows terminal

steady geyser
whole depot
#

making some progress, now im stuck here, there's no option here shown in the guide

steady geyser
whole depot
#

am i stupid or is this really that difficult to set up lol

lost oasis
#

Does this support windows?

wary agate
#

i cannot get this to work. too complicated

dense rose
#

This looks like a recolor of the seaorm logo 🤨

toxic coyote
dense rose