aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r--components/script/script_runtime.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs
index 783433b9a21..4a6d73949a9 100644
--- a/components/script/script_runtime.rs
+++ b/components/script/script_runtime.rs
@@ -371,7 +371,9 @@ unsafe extern "C" fn debug_gc_callback(_rt: *mut JSRuntime, status: JSGCStatus,
#[allow(unsafe_code)]
unsafe extern fn trace_rust_roots(tr: *mut JSTracer, _data: *mut os::raw::c_void) {
+ debug!("starting custom root handler");
trace_thread(tr);
trace_traceables(tr);
trace_roots(tr);
+ debug!("done custom root handler");
}