SeaQL / FireDBG.for.Rust

🔥 Time Travel Visual Debugger for Rust
https://firedbg.sea-ql.org
MIT License
1.27k stars 24 forks source link

fedora 40 support #44

Closed skewballfox closed 3 months ago

skewballfox commented 3 months ago

PR Info

None

New Features

Bug Fixes

Breaking Changes

Changes

Is there any other changes I need to make? where are the packages being downloaded listed?

billy1624 commented 3 months ago

Tested on Fedora 40

info: downloading FireDBG from `https://github.com/SeaQL/FireDBG.for.Rust/releases/download/1.79.0/x86_64-fedora39.tar.gz`
info: installing FireDBG binaries to `/root/.cargo/bin`
info: performing FireDBG self tests
    Updating crates.io index
  Downloaded firedbg-lib v0.1.2
  Downloaded 1 crate (2.2 KB) in 0.04s
     Tracing `firedbg.toml` config file not found, default settings will be applied
     Tracing debugger_self_test = { trace = "full" }
      Parsed 2 source files; re-cached 2 source files
   Compiling firedbg-lib v0.1.2
   Compiling debugger_self_test v1.79.0 (/root/.cargo/bin/firedbg-lib/debugger-self-test)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.82s
     Running `LD_LIBRARY_PATH="/root/.cargo/bin/firedbg-lib/lib" "/root/.cargo/bin/firedbg-debugger" "run" "/root/.cargo/bin/firedbg-lib/debugger-self-test/target/debug/debugger_self_test" "--workspace-root" "/root/.cargo/bin/firedbg-lib/debugger-self-test" "--output" "/root/.cargo/bin/firedbg-lib/debugger-self-test/output.firedbg.ss" "--package-name" "debugger_self_test" "--package" "./full"`
warning: (x86_64) /lib64/libgcc_s.so.1 No LZMA support found for reading .gnu_debugdata section
Testing call_chain
Testing for_range
Testing hash_map
Testing return_char
Testing return_enum
Testing return_value
Testing return_object
Testing return_option
Testing return_result
Testing return_struct
Testing return_pointer
Testing return_ref_mut
Testing fn_return
info: completed FireDBG self tests
billy1624 commented 3 months ago

Hey @skewballfox, could you try it on your Fedora?

curl https://raw.githubusercontent.com/SeaQL/FireDBG.for.Rust/main/install.sh -sSf | sh
skewballfox commented 3 months ago

so I ran it, the only warning I'm getting is

No LZMA support found for reading .gnu_debugdata section

which I'm guessing is a missing package or just a limitation of the packaged version (compiled without support). all the test pass though