TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Paul Edwards
date: 1996-10-20 12:58:40
subject: watcom debugging

How do I debug PM programs under Watcom?  The following doesn't work:

wcl386 -d2 -l=os2v2_pm fred.c
  
rc fred.rc

The resultant executable appears to have no symbolic debug info,
leastway, wd won't show me the source code.

Secondly, does Watcom have a PM-based debugger?  Although I normally
prefer a full-screen one, a PM one may be useful when debugging PM
apps.

Thirdly, any ideas why I am getting the following error from nmake?

NMAKE : fatal error U1002: syntax error : invalid macro invocation '$'

Operating System/2 Program Maintenance Utility
Version 2.001.000 Feb 16 1993
Copyright (C) IBM Corporation 1988-1993
Copyright (C) Microsoft Corp. 1988-1991
All rights reserved.

Stop.

  
The file is:

fred.exe: fred.c fred.rc fred.dlg fred.h fred.mak
  icc -Ti+ fred.c fred.def
  rc -r fred.rc
  rc fred.res fred.exe


It is highly likely to be a path problem, it's just it will take me
a while to isolate it, so I was hoping someone could give me a 
shortcut!  Thanks + bye.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.