Jump to content
Sign in to follow this  
Brandon Staggs

MacOS Debugging suddenly became excruciatingly slow

Recommended Posts

I am hoping someone else has experienced this and can share a solution.

 

Last week my debugging MacOS applications through PAServer became extremely slow. Code executes but (apparently) the communication between the debugging process on the Mac and on the Windows PC is so slow as to be unusable. If I detach from the process the application will suddenly start running at normal speeds. No breakpoints are needed for this problem to happen, just the act of running it with the debugger attached slows everything down to an unusable speed. 

 

It is possible, but I do not know if this timing is correct, that this happened after updating the Mac to Sequoia 15.4. The Mac is an M2 Pro model with a 2.5 gig wired ethernet connection (wifi disabled). Deploying to the Mac is super fast from Delphi. It's not a network speed issue.

 

I have already tried updating XCode and updating the SDK profile in Delphi.

 

Details:

 

Apple M2 Pro, Sequoia 15.4

Wired ethernet (2.5 gig), deployment speed is very very fast even for large transfers.

Delphi 12.2.

Target: MacOSX ARM 64 bit, SDK 15.4. 

 

Does anyone who debugs MacOS FMX applications have any suggestions on what might be suddenly slowing down the debug process? I can confirm that code is running and I can step through it, it's just SUPER slow to do so, the main form takes several minutes to appear (but eventually does), after which it remains ultra-slow.

Edited by Brandon Staggs

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  

×