Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Debuging workaround

Author
Message
luskos
19
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 13th Mar 2015 23:06
Hi there,
i have this realy simple code:

I wonder if there is some workaround.I'm trying to enlist a bunch of variables from a console to a file with their respective properties and later use the data from the file to find exceptions.As you can see in first of each set of lines there is manually written the real name of the variable in plain string and in the second the variable is pointed.It's very ineffective for a large ammount of variables.Is there some kind of pointer to a variable?

Coding is My Kung Fu!
And My Kung Fu is better than Yours!
Ortu
DBPro Master
18
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 13th Mar 2015 23:21 Edited at: 13th Mar 2015 23:22
if you compile and run in debug / step through mode, there is a variable watcher.

or are you logging these to a file?

luskos
19
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 13th Mar 2015 23:47
Can't see anything like this.Using Indigo IDE here.Even though i launch it in Debug mode nothing happens.It just start as normal.It only happend to open debug window just now, not sure how i make it do it.Anyway is it doable?Might find another purpose for it.

Coding is My Kung Fu!
And My Kung Fu is better than Yours!
Ortu
DBPro Master
18
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 14th Mar 2015 02:23
hmm dunno, I use that standard editor that dbpro ships with and it definitely works there though I don't use the debug mode much.

I mostly write out log files with fewer specific data items of interest.

Login to post a reply

Server time is: 2026-07-13 11:28:16
Your offset time is: 2026-07-13 11:28:16