Page 1 of 1 1
Topic Options
#115484 - 2004-03-04 07:23 PM Debugging issues
MDavis Offline
Fresh Scripter

Registered: 2004-01-05
Posts: 40
Loc: New Orleans, LA
Okay, I've been using the DEBUG ON option in my script to see where the script is failing but I was wondering if there was a more "powerful" debug utility. What I am trying to accomplish is this: I'd like to be able to see what is contained in a variable as I progress through the code. For example, if $boo gets set to the value of some registry key, can I see what $boo is set to?

I know this is a long shot, but I figured I would ask.
_________________________
Micah Davis "A truly wise man never plays leapfrog with a unicorn."

Top
#115485 - 2004-03-04 07:30 PM Re: Debugging issues
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
while in debug mode, press "\" this will let you execute code that you type in

"? $boo"

will display the current value of $boo

Top
#115486 - 2004-03-04 07:38 PM Re: Debugging issues
MDavis Offline
Fresh Scripter

Registered: 2004-01-05
Posts: 40
Loc: New Orleans, LA
Awesome! I tried that, but nothing printed out so I thought I did something wrong. Thanks
_________________________
Micah Davis "A truly wise man never plays leapfrog with a unicorn."

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 696 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.084 seconds in which 0.051 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org