Q44160: How to Debug Large QuickC 2.00 Program Inside the Environment
Article: Q44160
Product(s): See article
Version(s): 2.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | | mspl13_c
Last Modified: 18-MAY-1989
Question:
I have a very large QuickC Version 2.00 program that is too big to
debug in the QuickC 2.00 environment. How can I debug part of my
program without including debug information for the whole application?
Response:
QuickC 2.00 does not give you the option to turn debug information on
or off for single modules; however, there are ways to trick QuickC
2.00 into compiling part of the application without debug information.
By turning off the debug information, you can recompile some of the
modules without debug information. When you are ready to run the
application, turn debugging back on and recompile the changed modules.
You must shell out to DOS at this point to delete the old executable
file, which will force QuickC to relink before running. When you
select RUN, QuickC will ask if you want to rebuild. If you select yes,
all of the modules will be recompiled. If you select no, QuickC will
link only the existing object files before executing the program.
Note: To turn off debug information, go to the Options-Make menu and
select the release flags. Do not try to turn off debugging information
by selecting line numbers only in the compiler flags.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.