Re: request for 2.5
- Posted by Brian Broker <bkb at cnw.com> Oct 15, 2004
- 500 views
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