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_thread.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_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index a46c1a28b18..a3b374ac161 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -115,6 +115,7 @@ thread_local!(static SCRIPT_THREAD_ROOT: RefCell<Option<*const ScriptThread>> = pub unsafe fn trace_thread(tr: *mut JSTracer) { SCRIPT_THREAD_ROOT.with(|root| { if let Some(script_thread) = *root.borrow() { + debug!("tracing fields of ScriptThread"); (*script_thread).trace(tr); } }); |