Jump to content
Sign in to follow this  
Shano

Delphi 12.2 Android Debugging - EXTREMELY SLOW

Recommended Posts

Does anyone know how to speed up the Delphi 12.2 Debugger?

 

I have an Android device connected to my Delphi, and if I set a breakpoint in the FormCreate and set a breakpointin the FormShow. 

 

It takes 4 minutes to reach the FormShow event, which is a ridiculous amount of time and makes debugging utterly useless.

 

procedure TMainForm.FormCreate(Sender: TObject);

var

  i : integer;

begin
   // breakpoint here 

  i := 0;
end;

 

procedure TMainForm.FormShow(Sender: TObject);
begin
   // breakpoint here 

   ShowMessage('FormShow');
end;

 

If you run the application without debugging, it takes seconds to see the FormShow message on the screen.

 

Thank you in advance.

Edited by Shano

Share this post


Link to post
Just now, Dave Nottage said:

The debugger for Android has been unusable* for me for some time now. I have learned to live with using log statements and a logcat viewer, such as Device Lens.

 

*I guess that aligns with not being able to debug on iOS, too.

I, too, have been using Log.d and Monitor.bat

 

I just thought there had to be a better way, as waiting for the debugger to start is such a waste of time.

 

 

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
Sign in to follow this  

×