
-----------------------------------
BioHazardousWaste
Mon Mar 29, 2004 3:56 pm

GRRR! Vars?
-----------------------------------
How do I show vars in turing 4.0.5? It's really annoying, cuz I got a problem with a shitload of vars in it, and it would be nice to see them all.  I see show vars on the debugger menu, but it's always greyed out... any ideas?

-----------------------------------
Tony
Mon Mar 29, 2004 4:30 pm


-----------------------------------
eh...

put varName :lol:

I'm serious though... just place a bunch of put statements inside your loops and monitor the variables. Placing a delay might help you read the output. Having a detailed description might make it easier to read

loop
...
locate(1,1)
put counter ,"th step in the program"
put "current position is : ", x, " / ", y
put "another stat is : ", stat
delay(1000) %one second to read over data
...
end loop


You can then just comment out the code.

Such technique allows you to monitor exactly what you want, when you want

-----------------------------------
sport
Mon Mar 29, 2004 5:49 pm

4.0.5
-----------------------------------
Yeah it really sucks that 4.0.5 does not have show vars, and fullscreen.

-----------------------------------
BioHazardousWaste
Tue Mar 30, 2004 8:54 am


-----------------------------------
Are you serious? I have to monitor like 20 vars in this procedure...   :evil:

-----------------------------------
Tony
Tue Mar 30, 2004 10:20 am


-----------------------------------
well that's a shame that you don't know what's happening to the whole 20 variables :? It's usually 1 or 2 that have problems...

but I guess debugging comes with practice
