What information am I missing here ?
Thank you
Pat Harvey
>I would like some help using Codeview. I am learning C programming, and
>would like to trace programs occasionally. When I attempt to start Codeview
><snip>
>O.K., next thing is I select File, and Open program.c. There is my source
>code -- BUT -- when I try to trace or step through it, the whole program
>runs. Also, when I attempt to set watch expressions or breakpoints, the
>system replies "Unknown Symbol".
>
>What information am I missing here ?
>
>
What you are missing is that you have to compile and link with codeview
options selected. From memory this includes -Zi for the compiler and /CO
for the linker, look it up in the docs or the /h option gives a brief
summary. If you are using MSVC use the Debug option and the system
generates the command line options for you. A bunch of extra information is
tagged on to the end of the .EXE.
Roger H Abbott
RHA (Minisystems) Ltd
Hi,
You need to go into visual studio (or the equivalent program) and turn on the
link and compile options for Codeview debugging. Press F1 and look for help
on using Codeview. This will show you how to set things up.
Sincerely,
Tris Orendorff
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d++ s a C+ UC++++ P+ L E- W+ N++ o- K++ w+ O+ M !V PS+ PE Y+ PGP
t+ !5 X- R- tv--- b++ DI++ D+ G+ e+ h---- r+++ y+
------END GEEK CODE BLOCK------