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.

Newcomers DBPro Corner / CLI for debugging

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 17th Apr 2003 11:18 Edited at: 17th Apr 2003 11:23
Does the CLI have any debug specific commands? I'm using DB Classic.

When I print a variable to screen, it disappears instantly, how can I get around this?

I'd love to make more use of the CLI, if someone could give me a few pointers it would be much appreciated.

Thanks in advance.
All the Best,
StevieVee
bitJericho
21
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 17th Apr 2003 11:50 Edited at: 17th Apr 2003 11:50
the cli?? wow that's one thing i never use lol...mainly because I use the darkedit ide...

http://darkedit.nmisoftware.com/

however...i believe the cli can take any command, or sets of commands using : to break things up..so, in theory..you could check through all objects..and then get it to print whats there like this...



or something like that..break that up looks like this..


alrighty, and the same code above, is stated in the 'source' button below

btw, all code 100% untested^_~

The 3D Modeler's Group : http://groups.yahoo.com/group/3dModeler/
The Unofficial DB Newsgroup : http://groups.yahoo.com/group/DBMag/
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 17th Apr 2003 15:01
I also use Dark Edit, but how is that a replacement for the CLI interface?

Thanks in advance.
All the Best,
StevieVee
Danmatsuma
21
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 17th Apr 2003 16:01
They're both good for their own purposes, Darkedit for a long involved project you need to maintain a lot, and cli for rapid prototyping.

Yeah you can use any command in the language, but to use some effectively you'll have to add statements to your program loop.

Just a matter of using it a bit to see how it could be useful to you, there's no set method, nor I think are there any specific cli commands

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 17th Apr 2003 17:04
Thx, but how does Dark Edit add any value to debugging? Are there functions in it that I am not aware of?

Thanks in advance.
All the Best,
StevieVee
bitJericho
21
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 17th Apr 2003 22:51
no extra debugging functions i think...

The 3D Modeler's Group : http://groups.yahoo.com/group/3dModeler/
The Unofficial DB Newsgroup : http://groups.yahoo.com/group/DBMag/
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 18th Apr 2003 02:51 Edited at: 18th Apr 2003 02:51
lol...
i think there is some confusion here...
ok steviee ... there is no extra command in the CLI... and to solve your problem of..desappearing variable... u just need to set the "backdrop off" before printing your variable...

Login to post a reply

Server time is: 2024-09-20 06:38:52
Your offset time is: 2024-09-20 06:38:52