Jump to content
fisipjm

Broken Debugger behavior in 12.3?

Recommended Posts

Hey everyone,

I've encountered an issue in Delphi 12.3, and I'm not sure if it's a Delphi-related change or a misconfiguration on my end.

I have a Delphi FMX unit that contains some bugs. Since I can't wait for Embarcadero to fix them, I usually handle this by copying the unit into my project folder. Then, I either adjust the Search Path or include the unit directly in my DPR file.

This method seems to work—I've added logging, and I can confirm that my modified unit is being used. However, when I debug the application, the debugger still jumps into the original system unit instead of my modified version, making debugging impossible.

Things I've tried:

  • Deleting the DCU file and regenerating it

  • Ensuring the correct paths are set in the project options

  • Checking that no stale compiled files are interfering

This approach seemed to work fine in Delphi 12.2, so I'm wondering if something changed in 12.3.

Has anyone else encountered this? Any suggestions on how to get the debugger to use my local copy of the unit?

Thanks!

Edited by fisipjm

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×