I am using method TParams::ParamByName when working with SQL database. Source code of this method is placed in directory c:\Program Files\Embarcadero\RAD Studio\9.0\source\data in file Data.DB.pas. Is it possible to debug source code of this unit? Currently I am able to debug data unit only using asembler window (without viewing commands defined in higher programming laguages). VCL is statically linked to the program.
I am using method TParams::ParamByName when working with SQL database. Source code of this
Share
Go into the Project Options.
There is no need to set
Use debug .dcusunderDelphi Compiler>Compilingif your projects contains only C++ & C files (see Remy Lebeau answer).Disable
Link with Dynamic RTLunderC++ Linker.Disable
Link with Runtime PackagesunderPackages>Runtime Packages.If your project (lets name it Project1) was upgraded from older versions of development environment (C++ Builder XE and older), delete parameter
Directories & Conditionals->Library Pathfrom all nodes (All Configurations, All Configuration – 32-bit Windows Platform, Debug Configuration, …) except paths specific for this particular project. Open second instance of C++ Builder XE2. ClickFile->New->VCL Forms Application. Right click on project in Project Manager and selectOptions. Navigate toDirectories & Conditionals->Library path. Copy paths from all nodes to their counterparts in Project1.