Blueprint Debugging

Hi Everyone,

I’m trying to find out if it’s possible to debug Blueprints (in this case, UMG specifically, but always good to know of all cases / ways) on my PC when launching a debug build of my project on my connected Android device.

Or is there any way of launching a debugger on the Android device itself?

Hi!

Currently, Unreal’s built-in Blueprint debugger only works inside the editor or PIE, so you can’t directly attach it to a packaged debug build on Android. There isn’t an official way to launch the Blueprint debugger on the device itself either.

However, if you need to debug Blueprints on a packaged build, there are remote debugging approaches you can try. For example, I’ve been working on a system that lets you:

  • Set remote breakpoints on Blueprint nodes

  • Step through execution and inspect stack variables

  • Modify local and temporary variables at runtime

It works with Android builds as well, connecting back to the editor. Here’s a short demo showing it in action:

image

That being said, sounds like a great tool! Remote debugging shouldn’t be that different from local debugging, if all the right hooks are in place …

In most cases, it behaves the same as in the editor. Some instructions get reordered in packaged builds, but after aligning them, most Blueprint nodes can be debugged using the editor’s debug info as usual.

1 Like