Debug Android C++ with VS 2017

Hearing a rumor that it was possible to debug Android C++ using VS2017 I’ve installed it and can build for Android but am not sure how to attach to a device, or launch on a device.

Any tips would be appreciated!

When I f5 to run a dialog pops up:

“Unable to start debugging. Check your debugger settings by opening project properties and navigating to ‘Configuration Properties–>Debugging’”

Re-install of codeworks failed.

[Edit: Failed meaning not present on VS2017].

Nope, there are some instructions out there on debugging in 2015 that I haven’t tried either as they seemed somewhat long and annoying and I’ve always found a route around (normally I can repro bugs on iOS or PC, then for Android specific issues lots of output and hope the output doesn’t make the problem go away.

Wish I could debug though, would have saved me a few days over the last couple of months!

Hi, theonecalledtom, were you able to figure this out by chance?
I’ve run into the same problem/question myself…

Thank you for your reply. That’s disappointing.

Okay, I’ll continue my search. And if I ever figure it out, I’ll try to remember to come back here and share my findings. :wink:

Cheers,

Be great if you found an approach, would have saved me a bunch of time just this last week!

This guy DID get it to work, perhaps sometime I’ll actually follow this step by step.

http://zompi.pl/unreal-engine-4-debugging-on-android/

Hey, guys!
Any reasonable findings yet? (after 2 months)

I’d like to bump this again. I see a new visual studio plugin to support android debugging and have that installed but am not sure how to deploy and debug from Visual Studio (and also have yet to see the Android Studio instructions allow a breakpoint in C++ code, user error I’m sure).

When I compile Android debug or development builds I get errors about “Unknown Platform” from DirectoryWatcherPrivate.h