Android Question B4A very slow in debugging

Dey

Active Member
Licensed User
Longtime User
B4A V. 13.40
Android.jar 35
Genymotion and Android AVD Emulator
PC Core I9-14900 32GB RAM SSD
Windows 11
B4XPage App Compiled < 6 KB
For some time now, debugging has been very slow.
If I use the Legacy debugger, it's very fast!
What can I do to improve the situation?
I should point out that I use very few brake points and often use Ctrl+P.

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Dey

Active Member
Licensed User
Longtime User
Try this:
1. Edit - Remove All Breakpoints.
2. Ctrl + P (clean project)

3. Run it in debug mode.

Is it still slow?
Thanks Erel
Removed all breakpoints
Cleaned project with Ctrl+P
Disabled Windows Defender
It's slow
 
Upvote 0

Dey

Active Member
Licensed User
Longtime User
Hello @Dey


Enjoy...
It's not a compilation/installation issue,
using the debugger is slow...
The legacy debugger is very fast!
 
Upvote 0

Filippo

Expert
Licensed User
Longtime User
B4A V. 13.40
Android.jar 35
Genymotion and Android AVD Emulator
PC Core I9-14900 32GB RAM SSD
Windows 11
B4XPage App Compiled < 6 KB
For some time now, debugging has been very slow.
If I use the Legacy debugger, it's very fast!
What can I do to improve the situation?
I should point out that I use very few brake points and often use Ctrl+P.

Thanks
Can you try disabling your virus scanner?
 
Upvote 0

yo3ggx

Active Member
Licensed User
Longtime User
B4A V. 13.40
Android.jar 35
Genymotion and Android AVD Emulator
PC Core I9-14900 32GB RAM SSD
Windows 11
B4XPage App Compiled < 6 KB
For some time now, debugging has been very slow.
If I use the Legacy debugger, it's very fast!
What can I do to improve the situation?
I should point out that I use very few brake points and often use Ctrl+P.

Thanks
The emulator included in Android Studio works perfect with the latest B4A, if you don't have access to a real device or you want to test your app on a variety of screen format/sizes or Android versions.
 
Upvote 0

Dey

Active Member
Licensed User
Longtime User
Thanks for the reply,
tested Genymotion Android Emulator
physical device Samsung Galaxy Tab S7
in Legacy debugger very fast
normal debugging
very slow overall

Removed all break points
CTRL + P CTRL + S
 
Upvote 0

Dey

Active Member
Licensed User
Longtime User
I ran some more tests,
uploaded older versions of my application,
and it works fine...
development version, I'm implementing MQTT
can this library slow down the debugger?

Is there any particular code that slows down the debugger?
Thanks
 
Upvote 0
Top