Why does print not work in session logs?

dj_d

Member
string foo = "bar";
print(foo);
print("baz");

seems to be recorded in the session log as
foo
baz
Thata is, it prints the variable name instead of the variable contents. That seems really weird. Am I missing something? It's preventing me from debuging eatdrink from session logs; a workaround would be welcome.

Thanks!
 

Bale

Minion
Weird. I tried it too. I got the same output as Veracity. What version are you using dj_d? Veracity has made a lot of changes in the last week that might have affected this.
 

Bale

Minion
Well, it looks like you've found the source of the problem.

Moral: Never trust a user not to mess with your script in weird ways before reporting a bug.
 
Top