Re: TRACE amendment
- Posted by Brian Broker <bkb at CNW.COM> Jan 15, 2001
- 420 views
On Mon, 15 Jan 2001 08:33:22 +0200, alan wrote: >Hi fellow Euphorians, >I'm leaving lurk mode for a minite, to ask if this feature is already in >place: > >TRACE(3) -- Trace, excluding included files, in color >TRACE(4) -- Trace, excluding included files, in mono > >Turning trace off before any win32lib call, and on again immediately after, >adds an extra 2 lines of source per win32lib call - rather tedious! >Cannot say i've seen this, or similar in the docs with euphoria, or >win32lib. >I am thinking it should be a Euphoria feature, rather than a switch >incorporated >into win32lib, since this is not the only included file I would like to >exclude from >tracing, at times. Alan, If you don't want to trace an included file, just make sure that your "with trace" statement comes *after* your "include filename.e". You should also be sure that your include file does *not* contain a "with trace" statement. (I see that latest release of Win32Lib starts with a "without trace" but further on down has a "with trace". I'm not sure what the reasoning is here but you would have to comment out the "with trace" in line 11 if you don't want win32lib.ew traced.) -- Brian