简体   繁体   中英

How to disable “Use debug .dcus” in C++ Builder

My debugger steps through Delphi's VCL code when I press F7. Under the Delphi compiler I need to disable "Use debug.dcus" (I have it off). How is that option called under C++ Builder?

http://docwiki.embarcadero.com/RADStudio/Sydney/en/Compiling

Project > Options > Building > Delphi Compiler > Compiling

Use debug.dcus

The debug DCUs contain debug information and are built with stack frames. When this option is checked, the compiler adds the debug DCU path to the search paths specified in Debug Source Path on the Embarcadero Debuggers page.

With a simple C++Builder VCL app with only a button onClick event handler (Button1->Caption = "Clicked";) trace into (F7) into the Caption assignment will only get you to ustring.cpp source code with the "use debug.dcus" set to false and then come back to your C++ source code.

If you "use debug.dcus" set to true, trace into (F7) the Caption assignment will get you to ustring.cpp source code and if you keep tracing into F7 the debugger will continue into Pascal source code in the RTL.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM