1. [WIN] turn off trace???

Trying to understand the functioning of a program which uses Win32Lib, via the
trace facility. (Program is
"wasex06c.exw", included with W32LibTutor, from Ad Rienks and Wolfgang Fritz,
(pgm originated by David Cuny, I think) ).

Does anyone know any way to turn off the trace function when it enters a
Win32Lib function or procedure, and trace only
the calling program lines? The Win32Lib code is still too undecipherable for me,
 at this time, and much too
voluminously.

Not practical to edit each of the 650 procedures and functions in Win32Lib to
insert a trace(0) statement.

Thanks for any ideas.

Jerry

new topic     » topic index » view message » categorize

2. Re: [WIN] turn off trace???

------=_NextPart_000_0029_01C0563D.FE512B20
        charset="x-user-defined"
Content-Transfer-Encoding: quoted-printable

Jerry writes:
> Does anyone know any way to turn off the=20
> trace function when it enters a Win32Lib=20
> function or procedure, and trace only
> the calling program lines?=20

Put your with trace statement after
your include win32lib.ew statement.
Execute trace(1) in your calling program lines.
Only the statements after with trace will be traceable.

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


------=_NextPart_000_0029_01C0563D.FE512B20
        charset="x-user-defined"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dx-user-defined">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial>Jerry writes:</FONT></DIV>
<DIV><FONT face=3DArial>&gt; Does anyone know any way to turn off the=20
</FONT></DIV>
<DIV><FONT face=3DArial>&gt; trace function when it enters a Win32Lib=20
</FONT></DIV>
<DIV><FONT face=3DArial>&gt; function or procedure, and trace =
only</FONT></DIV>
<DIV><FONT face=3DArial>&gt; the calling program lines? </FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial>Put your <STRONG>with trace</STRONG> statement=20
after</FONT></DIV>
<DIV><FONT face=3DArial>your <STRONG>include win32lib.ew</STRONG>=20
statement.</FONT></DIV>
<DIV><FONT face=3DArial>Execute <STRONG>trace(1)</STRONG>&nbsp;in your =
calling=20
program lines.</FONT></DIV>
<DIV><FONT face=3DArial>Only the statements after <STRONG>with =
trace</STRONG> will=20
be traceable.</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial>Regards,<BR>&nbsp;&nbsp; Rob =
Craig<BR>&nbsp;&nbsp; Rapid=20
Deployment Software<BR>&nbsp;&nbsp; </FONT><A=20
href=3D"http://www.RapidEuphoria.com"><FONT=20
ML>

------=_NextPart_000_0029_01C0563D.FE512B20--

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

3. Re: [WIN] turn off trace???

And... make sure that the Win32Lib you are using does not contain the line
'with trace'.  If it does, comment it out or delete it.

----- Original Message -----
From: Robert Craig
Sent: Friday, November 24, 2000 2:43 PM

Jerry writes:
> Does anyone know any way to turn off the
> trace function when it enters a Win32Lib
> function or procedure, and trace only
> the calling program lines?

Put your with trace statement after
your include win32lib.ew statement.
Execute trace(1) in your calling program lines.
Only the statements after with trace will be traceable.

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