summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/Context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/Context.cpp')
-rw-r--r--Sencha-lang/Context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sencha-lang/Context.cpp b/Sencha-lang/Context.cpp
index 172cc47..c6c007f 100644
--- a/Sencha-lang/Context.cpp
+++ b/Sencha-lang/Context.cpp
@@ -76,10 +76,10 @@ SenchaObject Context::get(std::string name)
std::string Context::debug() {
std::string debug_note = "";
-
+ debug_note += "Context: " + this->name + " contains:\n";
for( auto iter = this->object_store.begin(); iter != this->object_store.end(); iter++)
{
- debug_note += "Context: " + (*iter).second.repr() + ": " + (*iter).first + " " + "\n";
+ debug_note += "name: " + (*iter).first + ", value: " + (*iter).second.repr() + "\n";
}
return debug_note;