delphi set up to compile the environment

Author:Anonymous    Updated:2008-10-17 12:17:08

Delphi in the environment run the program, the program is actually in the internal debugger in the implementation, most of the Run command with the relevant debugger. Therefore, in the debugging process, to be set up to compile a good environment.

     1. Setup program debugging environment

     First, check whether the IDE settings to allow the use of the debugger. Select Tools I Environment 0ptions order to open the En-vironment 0ptions dialog box. For example, in the Preferences tab, the opening of check Minimize on run, said that when the program runs a minimum of Delphi development environment.

     Second, the right set of compiler options, in order to compile the program when debugging information. Proiect l Options to choose the order to open the Project Options dialog box. Compiler in the tab, check Enable Debugging Infol'mation, added Dcu debugging information in the document. But the proposals do not in the debugger, it is best to close the box, because it will increase ExE file.

 

     In addition, Compiler tab of the lower left-hand corner there is a Default check box, select it to the current Project Option dialog box settings preserved, after the creation of the project will use the same settings.

   2. Run menu command to use debugger

   Debugger to run the control procedures, including single-step implementation, monitoring and tracking procedures for exports and so on. The procedure results in non-debug run-time as a state. Can step in the implementation or follow-up, observe the simultaneous application of the output. In the form of a project document, the only single-step implementation of the implementation of the project file (. Dpr) in and begin between the end of the sentence. To form the corresponding unit in the single-step implementation of the document, the need to set up break point with the implementation of RunIRun order to break point before a single step.

Previous:DELPHI access to U disk drive letter code
Next:Delphi in the application of AOP in the realization of the log function
User Reviews
Site Search
Recommended article
AD