1. [WIN] turn off trace???
- Posted by "Jerry C. Cummings" <futures8 at EARTHLINK.NET> Nov 24, 2000
- 399 views
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
2. Re: [WIN] turn off trace???
- Posted by Robert Craig <rds at RAPIDEUPHORIA.COM> Nov 24, 2000
- 363 views
------=_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>> Does anyone know any way to turn off the=20 </FONT></DIV> <DIV><FONT face=3DArial>> trace function when it enters a Win32Lib=20 </FONT></DIV> <DIV><FONT face=3DArial>> function or procedure, and trace = only</FONT></DIV> <DIV><FONT face=3DArial>> the calling program lines? </FONT></DIV> <DIV><FONT face=3DArial></FONT> </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> 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> </DIV> <DIV><FONT face=3DArial>Regards,<BR> Rob = Craig<BR> Rapid=20 Deployment Software<BR> </FONT><A=20 href=3D"http://www.RapidEuphoria.com"><FONT=20 ML> ------=_NextPart_000_0029_01C0563D.FE512B20--
3. Re: [WIN] turn off trace???
- Posted by "Brian K. Broker" <bkb at CNW.COM> Nov 24, 2000
- 361 views
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