Unable to attach breakpoints while debugging on Galaxy S24 FE

Hello,

We are trying to debug a model specific bug on a game running C++ code through NDK with Visual Studio 2022 and Android Game Development extension.

We have a model specific rendering bug that we can’t reproduce anywhere outside Galaxy S24 FE Vulkan rendering. However, on the specific model we can’t seem to attach break points on the code as usual, which makes it very difficult to reason the data sent to rendering API.

The phone has developer mode and USB debugging enabled as usual and we can launch debug build through USB from Visual Studio. However, whenever we run the debug version through USB debugging, any set breakpoints turn inactive and declare “The breakpoint will not currently be hit. Unable to find a valid address to bind breakpoint.”

There are no instantly obvious messages concerning debugger in program output or logcat (I can probably post some logs if necessary) and the same debugging setup works on practically all other phones - older or newer - available for testing for us. The phone has the auto-blocker feature disabled. We’ve also updated the Samsung USB drivers.

We’ve tried building the debug version with NDK versions 27.2.12479018 and 23.2.8568313 and are using the most recent AGDE version 24.1.99.

The phone is running Android 14, One UI 6.1 and March 1 2025 security patch.

Is there any obvious fix we are missing?

Hello
Please create a support request in the following support channel.