Jump to content
dmitrybv

RAD Studio 12 debugger does not fall into interface methods when pressing F7.

Recommended Posts

Posted (edited)

- Embarcadero RAD Studio 12 Version 29.0.51961.7529


The debugger does not fall into interface methods.
In RAD Studio 12, when I press F7, the debugger does not fall into interface methods. RAD Studio 10.4 falls normally.


For example, if you set a breakpoint on line 
FCaptured.MouseClick(Button, Shift, P.X, P.Y);
Or
Obj.MouseClick(Button, Shift, P.X, P.Y);
In the method
procedure TCommonCustomForm.MouseUp(Button: TMouseButton; Shift: TShiftState; AFormX, AFormY: Single; DoClick: Boolean = True);

 

  Obj is IControl; and FCaptured is IControl;


then the RAD Studio 12 debugger on F7 does not go to debugging the method
procedure TControl.MouseClick(Button: TMouseButton; Shift: TShiftState; X, Y: Single);


I can't understand if this is a feature or a bug or a setting.

 

Addition:
It seems that the problem only occurs in the Target Platform mode – Windows 64-bit.

In Windows 32-bit mode, the debugger falls into the method.

Edited by dmitrybv

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

×