debugger_visualizer: does not update changes to GDB scripts with incremental #111295
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
F-debugger_visualizer
`#![feature(debugger_visualizer)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-debugging
Working group: Bad Rust debugging experiences
I tried this code:
foo.rs
:foo.py
:rustc -Cincremental=incremental -g foo.rs
a.
gdb -iex "add-auto-load-safe-path ." ./foo
b.
b foo.rs:5
c.
r
d.
p x
e. See
hello!
printed.foo.py
and change hello to "hello world"I expected to see this happen: It should print "hello world".
Instead, this happened: Any changes to a gdb script are not picked up when rebuilding with incremental.
This is likely related to #111227.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: