iOS Question Testing in Debug mode slow and lagging

mcqueccu

Well-Known Member
Licensed User
Longtime User
It's becoming increasingly difficult to test my application in debug mode.
My B4Xpages app compiles to a size of 3 - 5mb using custom listview and up to 5 B4Xpages.

When I am running in Debug mode, the app freezes constantly and runs very slowly. A click or scroll on an item takes a few seconds (like 30secs +) before it responds, and it is making debugging very difficult.

The same app runs very fast and fluidly in Release mode. My testing device is iPhone XR. It keeps me wondering how I will be able to debug a very huge application.

Has anyone experienced this, and what is the best way to make it run faster in debug mode?
 
Solution
1.
Clean the project (Ctrl + P) and remove all breakpoints. It should run almost as fast as in release mode.

2.
The network speed affects the debugging speed.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…