Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ get_debug
Function
get_debug
crates/vm/src/stdlib/gc.rs:120–122 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
118
/// Return the current debugging flags.
119
#[pyfunction]
120
fn get_debug() -> u32 {
121
gc_state::gc_state().get_debug().bits()
122
}
123
124
/// Set the debugging flags.
125
#[pyfunction]
Callers
nothing calls this directly
Calls
2
gc_state
Function · 0.85
get_debug
Method · 0.45
Tested by
no test coverage detected