Re: request for 2.5

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

Patrick Barnes wrote:
> 
> Derek Parnell wrote:
> > But back to trace(). One technique I've used is a type of conditional
> > trace. This is where I start the debugger only when certain conditions
> > have been met.
> > 
> > Eg.:
> >   trace( (id = 17) and (length(fldx) > 0 ) )
> >   trace( equal(getenv("DEBUG"), "rtnx") )
> 
> That's brilliant!
> 
> Rob, document it!
> 
> -- 
> MrTrick

That *is* pretty cool but I've actually found myself throwing '?'s into my
programs when I want to check questionable variables.  My program keeps 
running while I keep an eye on only the variable I'm interested in.

Of course, this works best with Windows GUI programming when the console is
typically hidden/unused.

-- Brian

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

Search



Quick Links

User menu

Not signed in.

Misc Menu