about summary refs log tree commit diff stats
path: root/cpp/002trace
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-15 09:43:05 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-15 09:43:05 -0700
commitec92602746894c81990a37d7a5e5d7f14a518f0e (patch)
tree5783f2eaadfae829ea4c1524cff52ee8f3d3904c /cpp/002trace
parentfa0c006672437f4e89f86d0f53e9e4b3da767a74 (diff)
downloadmu-ec92602746894c81990a37d7a5e5d7f14a518f0e.tar.gz
928 - 'call' layer is now more cohesive
It does less though. Args temporarily not supported.
Diffstat (limited to 'cpp/002trace')
-rw-r--r--cpp/002trace3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/002trace b/cpp/002trace
index 796ad7f1..b4d0cfca 100644
--- a/cpp/002trace
+++ b/cpp/002trace
@@ -113,7 +113,7 @@ struct trace_stream {
   void newline() {
     if (!curr_stream) return;
     past_lines.push_back(pair<string, pair<int, string> >(curr_layer, pair<int, string>(frame[curr_layer], curr_stream->str())));
-    if (curr_layer == dump_layer || curr_layer == "dump" ||
+    if (curr_layer == dump_layer || curr_layer == "dump" || dump_layer == "all" ||
         (!Hide_warnings && curr_layer == "warn"))
       cerr << frame[curr_layer] << ": " << with_newline(curr_stream->str());
     delete curr_stream;
@@ -204,6 +204,7 @@ struct lease_tracer {
 #define START_TRACING_UNTIL_END_OF_SCOPE  lease_tracer leased_tracer;
 :(before "End Test Setup")
   START_TRACING_UNTIL_END_OF_SCOPE
+//?   Trace_stream->dump_layer = "all"; //? 1
 
 :(before "End Tracing")
 void trace_all(const string& label, const list<string>& in) {