about summary refs log tree commit diff stats
path: root/html/020run.cc.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-11-22 11:39:05 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-11-22 11:39:05 -0800
commit6f69d5d9af1860ce1a9dff9f89c2aafa5a3e6dac (patch)
tree056dfa11019378abda3aad10699901924cd8835d /html/020run.cc.html
parent93c9862fa74043f2b0fa616fcc28aee66bc05037 (diff)
downloadmu-6f69d5d9af1860ce1a9dff9f89c2aafa5a3e6dac.tar.gz
3682
Clean up the flow of "mu --trace" followed by "mu browse-trace
interactive".
Diffstat (limited to 'html/020run.cc.html')
-rw-r--r--html/020run.cc.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/html/020run.cc.html b/html/020run.cc.html
index be5baa4c..f4aa1652 100644
--- a/html/020run.cc.html
+++ b/html/020run.cc.html
@@ -225,9 +225,11 @@ save_snapshots<span class="Delimiter">();</span>
 <span class="Normal">if</span> <span class="Delimiter">(</span>!Run_tests &amp;&amp; contains_key<span class="Delimiter">(</span>Recipe_ordinal<span class="Delimiter">,</span> <span class="Constant">&quot;main&quot;</span><span class="Delimiter">)</span> &amp;&amp; contains_key<span class="Delimiter">(</span>Recipe<span class="Delimiter">,</span> get<span class="Delimiter">(</span>Recipe_ordinal<span class="Delimiter">,</span> <span class="Constant">&quot;main&quot;</span><span class="Delimiter">)))</span> <span class="Delimiter">{</span>
   <span class="Comment">// Running Main</span>
   setup<span class="Delimiter">();</span>
-<span class="CommentedCode">//?   Save_trace = true;</span>
-  <span class="Normal">if</span> <span class="Delimiter">(</span>Start_tracing<span class="Delimiter">)</span> Trace_stream = <span class="Normal">new</span> trace_stream<span class="Delimiter">;</span>
-  trace<span class="Delimiter">(</span><span class="Constant">9990</span><span class="Delimiter">,</span> <span class="Constant">&quot;run&quot;</span><span class="Delimiter">)</span> &lt;&lt; <span class="Constant">&quot;=== Starting to run&quot;</span> &lt;&lt; end<span class="Delimiter">();</span>
+  <span class="Normal">if</span> <span class="Delimiter">(</span>Start_tracing<span class="Delimiter">)</span> <span class="Delimiter">{</span>
+    Trace_stream = <span class="Normal">new</span> trace_stream<span class="Delimiter">;</span>
+    Save_trace = <span class="Constant">true</span><span class="Delimiter">;</span>
+  <span class="Delimiter">}</span>
+  trace<span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">&quot;run&quot;</span><span class="Delimiter">)</span> &lt;&lt; <span class="Constant">&quot;=== Starting to run&quot;</span> &lt;&lt; end<span class="Delimiter">();</span>
   assert<span class="Delimiter">(</span>Num_calls_to_transform_all == <span class="Constant">1</span><span class="Delimiter">);</span>
   run_main<span class="Delimiter">(</span>argc<span class="Delimiter">,</span> argv<span class="Delimiter">);</span>
   teardown<span class="Delimiter">();</span>