[beast: 13/70] V8BSE: add inactive debugging aid



commit f61ddbf8313861a6bdc36f18ca1a193b3cb5dbd6
Author: Tim Janik <timj gnu org>
Date:   Mon Feb 20 19:16:12 2017 +0100

    V8BSE: add inactive debugging aid
    
    Signed-off-by: Tim Janik <timj gnu org>

 ebeast/v8bse/nodemodule.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/ebeast/v8bse/nodemodule.cc b/ebeast/v8bse/nodemodule.cc
index 5e31477..dd9c3ab 100644
--- a/ebeast/v8bse/nodemodule.cc
+++ b/ebeast/v8bse/nodemodule.cc
@@ -58,6 +58,10 @@ v8bse_register_module (v8::Local<v8::Object> exports)
   v8::Local<v8::Object> v8_server = class_.import_external (isolate, new Bse::ServerH (bse_server));
   module_instance->DefineOwnProperty (context, v8pp::to_v8 (isolate, "server"),
                                       v8_server, v8::PropertyAttribute (v8::ReadOnly | v8::DontDelete));
+
+  // debugging aids:
+  if (0)
+    printerr ("gdb %s %u -ex 'catch catch' -ex 'catch throw'\n", program_invocation_name, 
Rapicorn::ThisThread::process_pid());
 }
 
 // node.js registration


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]