Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I step into the VCL (Pascal) code while debugging a C++ app?

I have a Delphi app that we're migrating to C++. One thing I often do while debugging my Delphi code is step into the VCL itself to understand exactly what's going on, to track some bugs. Is this possible in C++Builder?

Suppose I am in C++Builder and I call "ShowMessage". Can I step into that call in my debugging session and switch to Pascal on the fly?

like image 972
C. Smith Avatar asked Oct 08 '10 13:10

C. Smith


1 Answers

It is possible, but you must change two settings. You must turn off the Dynamic RTL in the linker settings. You must disable linking with runtime packages in the package settings.

like image 200
David Dean Avatar answered Oct 07 '22 01:10

David Dean