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.

Code Snippets / Pathetic peice of info......

Author
Message
KamaKase
22
Years of Service
User Offline
Joined: 29th Oct 2002
Location:
Posted: 29th Oct 2003 00:19
If you put an exclamation mark in a "rem" comment such as

rem Oooooh, look at me!

then the program (when ran in Debug Mode (DBPro)) will stop allow you to step through the program; as if you had run it from Step through from the beggining.
Now I'll never have to quickly click between windows for skipping through menu's etc.. Hurrah!!

(Sorry, if you knew this or I've put it in the wrong place. Just thought it was an interesting discovery)
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 29th Oct 2003 23:06 Edited at: 29th Oct 2003 23:08
The "!" character is used by the debugger to specify a breakpoint.
You can put it in code as well.



You can also do it in the ide with ctrl+shift+f2 or right click > toggle breakpoint.

When you run it in step through mode the ide prefixes every line with a "!".

Not really much use as the debbugger crashes too much to make it useable. It crashed in that bit of code.

Login to post a reply

Server time is: 2024-11-23 23:17:54
Your offset time is: 2024-11-23 23:17:54