C Language Debugger Support with Clipper
Clipper Debugger
Neither C source code nor C variables are visible from within
the Clipper debugger. This is because the C compiler does not
include Clipper debugging information.
CodeView and Turbo debugger
Both CodeView and Turbo debugger can be used to debug user
compiled C functions within a Clipper application. Clipper
source code and Clipper run-time library code will be displayed
as machine code without symbols. This is because the Clipper
compiler does not produce CodeView (or Turbo Debugger)
information. The C Code, however, will display as C source
code with all the proper symbols information included. This
means you can set a break point on your C function name and run
to that break point, and you can inspect all the C function's
variables by name.
The C code must be compiled with the debugger information
switch, and the application must be linked with the proper
linker option for that product:
MSC: Turbo:
Compile with the /Zi option Compile with the -v option
and replace /Oalt with /Od and remove -G -O -Z
Link with LINK adding the /CO option Link with TLINK adding
the /v option