1. Trace bug?

Under Win32, the trace routine brings up the console window when passed a
parameter of zero. For example, I had written some conditional debug code
that used the flag traceFlag:

   integer traceFlag
      traceFlag = 0

I wanted the trace window to conditionally appear, so I wrote:

   trace( traceFlag )

This causes the console window to appear, even if traceFlag is zero.

-- David Cuny

new topic     » topic index » view message » categorize

2. Re: Trace bug?

David Cuny writes:
>   integer traceFlag
>      traceFlag = 0
> I wanted the trace window to conditionally appear, so I wrote:
>
>    trace( traceFlag )
>
> This causes the console window to appear, even if
> traceFlag is zero.

I tried to duplicate the bug using:

with trace
integer traceFlag
traceFlag = 0

trace(traceFlag)

? 1
? 2
? 3
? 4
? getc(0)

I couldn't duplicate it.
The trace screen only appeared when traceFlag was set to 1.
Maybe there's some other factor involved.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu