1, compiler settings
Project | Options
Compiler "Full Debug" "code optimization" (code optimization)
"Debugging" "debug information" "line number information" "Disable Inline Expansions" (disable Inline Expansion)
"Pascal" tag
"Optimization" optimizes "debugging" (debugging)
"Linker" "Create Debug Information" "Don't Generate State Files" (Do not generate status file) "Use Dynamic RTL" (using dynamic RTL)
"Directories / Conditionals" (path / condition)
"Packages" (package) "Build With Runtime Packages" (compiled with runtime package)
Tools | Debugger Optionsintegrated Debugging "(Integrated Debugger)
Project | Build All (thorough compilation)
2, set RTL
C Builder has several runtime libraries, multi-threaded static link libraries, single-threaded static link libraries, and dynamic, with
VCL, the multi-threaded static link library is described below, and the single-threaded static link library is not VCL, and the multi-thread is automatically included in the VCL.
Use RTL Multi-Threaded Static Library uses multi-threaded static link library
In * .bpr, press below to modify it.
Use RTL SINGLE-Threaded Static Library uses a single-threaded static link library
In * .bpr, press below to modify it.
3, CB memory vulnerability tool
CODEGUARD debugger library file CG32.lib / cg32.dll 1, compile (project / option-> codeguard) II, running in * .cgi log file, the file name is * .cgi. Use View / Debug Window / Codeguard Log to view or record