diff options
author | Josh Matthews <josh@joshmatthews.net> | 2016-05-10 12:12:10 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-05-11 08:34:48 -0400 |
commit | 293d465c59bda315ea1a7e789c6fa9ab4d48f5e2 (patch) | |
tree | 4827f5a0f7e8aa54fac97c5c168be4f3f3f9b27d /components/script/script_runtime.rs | |
parent | 835f443865fbaa8784722ad6f950a2c8879fab31 (diff) | |
download | servo-293d465c59bda315ea1a7e789c6fa9ab4d48f5e2.tar.gz servo-293d465c59bda315ea1a7e789c6fa9ab4d48f5e2.zip |
Make debug logging for tracing JS objects more informative.
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r-- | components/script/script_runtime.rs | 2 |
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"); } |