1. RE: stop trace ! :>)
rubis at fem.unicamp.br wrote:
> Hi people;
>
>
> How do I keep the trace window results only in my program, and not
> "walking away" through the include files or win32lib ?
>
>
> thanks
>
> Rubens
>
>
Put trace(1) where you want to start and trace(0) where you want it to
stop. Using the different commands in the trace window you can also
stop it from "following a function" that it otherwise would...
2. RE: stop trace ! :>)
> You mean this:
>
>
> without trace
> include Win32lib.ew
> include database.e
> without warning
> with trace
>
> procedure
> trace(1)
> ...
> trace(0)
> end procedure.
>
> Didn't work. If I had in this procedure some call to the database for
> example, the trace window will show all the routines for the database.e
>
> Any ideas ?
>
>
> Rubens
No, thats not quite what they meant. But close.
::File database.e::
without trace -- (1st line of file)
::File Win32lib.ew::
without trace -- (1st line of file)
::Your file::
include database.e
include Win32lib.ew
without warning
with trace
procedure
trace(1)
...
trace(0)
end procedure.
Note:
While I believe this will give the desired results, I would make a
copy of the original file and place it somewhere for safe keeping as
changing the file in this manner will remove the zero count statement
clause...
Don Phillips
3. RE: stop trace ! :>)
Hi Rubens,
You must make sure that there are no "with trace" statements within the
include file. If you have a "without trace" before including the file
but then the include file has a "with trace", then that will override
the "without trace".
Derek sometimes leaves in some "with trace" statements in Win32Lib for
debugging...
So clean out any "with trace" statements from includes that you don't
want to see. Then all you should have to do is:
include Win32Lib.ew
include database.e
without warning
with trace
procedure
trace(1)
...
trace(0)
end procedure
-- Brian
Rubens wrote:
> Hi Kat, Hi Andy;
>
> You mean this:
>
>
> without trace
> include Win32lib.ew
> include database.e
> without warning
> with trace
>
> procedure
> trace(1)
> ...
> trace(0)
> end procedure.
>
> Didn't work. If I had in this procedure some call to the database for
> example, the trace window will show all the routines for the database.e
>
> Any ideas ?
>
>
> Rubens
>
>
> At 19:28 26/8/2002, you wrote:
> >
> >On 26 Aug 2002, at 19:11, rubis at fem.unicamp.br wrote:
> >
> > >
> > > Hi people;
> > >
> > >
> > > How do I keep the trace window results only in my program, and not
> > > "walking away" through the include files or win32lib ?
> >
> >Put the "with trace" and "trace(1)" AFTER all the includes. Then in the
> >includes, put "without trace".
> >
> >Kat
> >
> >
4. RE: stop trace ! :>)
- Posted by rubis at fem.unicamp.br
Aug 27, 2002
Ok !
Thanks for all. This solve the problem.
At 14:33 27/8/2002, you wrote:
>
>Hi Rubens,
>
>You must make sure that there are no "with trace" statements within the
>include file. If you have a "without trace" before including the file
>but then the include file has a "with trace", then that will override
>the "without trace".
>
>Derek sometimes leaves in some "with trace" statements in Win32Lib for
>debugging...
>
>So clean out any "with trace" statements from includes that you don't
>want to see. Then all you should have to do is:
>
>include Win32Lib.ew
>include database.e
>without warning
>with trace
>
>procedure
> trace(1)
> ...
> trace(0)
>end procedure
>
>-- Brian
>
>
>Rubens wrote:
> > Hi Kat, Hi Andy;
> >
> > You mean this:
> >
> >
> > without trace
> > include Win32lib.ew
> > include database.e
> > without warning
> > with trace
> >
> > procedure
> > trace(1)
> > ...
> > trace(0)
> > end procedure.
> >
> > Didn't work. If I had in this procedure some call to the database for
> > example, the trace window will show all the routines for the database.e
> >
> > Any ideas ?
> >
> >
> > Rubens
> >
> >
> > At 19:28 26/8/2002, you wrote:
> > >
> > >On 26 Aug 2002, at 19:11, rubis at fem.unicamp.br wrote:
> > >
> > > >
> > > > Hi people;
> > > >
> > > >
> > > > How do I keep the trace window results only in my program, and not
> > > > "walking away" through the include files or win32lib ?
> > >
> > >Put the "with trace" and "trace(1)" AFTER all the includes. Then in the
> > >includes, put "without trace".
> > >
> > >Kat
> > >
> > >
>
>