diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-10-29 11:15:13 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-10-29 11:15:13 -0700 |
commit | b2ec0969e9f7ef7c3267545efbed907c15084695 (patch) | |
tree | a7104a5daf769414a90aec52da93e57507c5fba5 /020run.cc | |
parent | e330f8545533d03bfe1a29506f243d4846dbd7c2 (diff) | |
download | mu-b2ec0969e9f7ef7c3267545efbed907c15084695.tar.gz |
2310 - add some more tracing
I've been growing lax on white-box testing when it's one of the three big thrusts of this whole effort. Perhaps it was because I got too obsessed with keeping traces stable and didn't notice that stable doesn't mean "not changing". Or perhaps it's because I still don't have a zoomable trace browser that can parse traces from disk. Or perhaps $trace-browser is too clunky and discourages me from using it. Regardless, I need to make the trace useable again before I work much more on the next few rewriting transforms.
Diffstat (limited to '020run.cc')
-rw-r--r-- | 020run.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/020run.cc b/020run.cc index 81d0e4ae..4cccadef 100644 --- a/020run.cc +++ b/020run.cc @@ -134,6 +134,8 @@ inline bool routine::completed() const { //: Step 1: load all .mu files with numeric prefixes (in order) :(before "End Load Recipes") +Trace_file = "interactive"; +START_TRACING_UNTIL_END_OF_SCOPE; load_permanently("core.mu"); transform_all(); @@ -213,6 +215,7 @@ void load_permanently(string filename) { return; } fin >> std::noskipws; + trace(9990, "load") << "=== " << filename << end(); load(fin); fin.close(); // freeze everything so it doesn't get cleared by tests |