Re: Anyone want to code a useful utility and get some EuBucks?

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message -----
From: "SR.Williamson" <writeneu at hotmail.com>

> Anyone up for coding a debug include file that will write a list of
> variables and sequences to an eds database?

I already have my debug.e which does almost everything you are asking for.

I use procedure show (sequence name, object o)
which prints objects on screen like ? command, a little better (letters for
numbers, like in trace).
Include file also has options that show() writes to text file or also to EDS
database.
I almost never use those two options.
I use a lot for debugging:
show()
showw() - show() and wait for key press

I created macro in my editor so that I just type name of variable in
inputbox and it writes function call - to avoid typing. It works great. This
type of debugging is even better than with trace () unless you want to see
flow of your code (which if() statements are true...)

For reporting in which routine you are I would add functions
dbg_enter_routine (routine_name) and dbg_exit_routine() but I don't really
think they are needed 'cos you don't have many vars with same name in code.

I can polish that file up and send it to archives if you want it?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu