Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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'"

Product Version: UE 4.17
more ▼

asked Sep 29 '17 at 07:34 PM in C++ Programming

avatar image

1.3k 60 64 269

avatar image theonecalledtom Sep 29 '17 at 07:56 PM

Re-install of codeworks failed.

[Edit: Failed meaning not present on VS2017].

avatar image Orakga Dec 20 '17 at 05:53 PM

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

avatar image theonecalledtom Dec 20 '17 at 06:12 PM

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!

avatar image Orakga Dec 20 '17 at 09:32 PM

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. ;)


avatar image theonecalledtom Dec 21 '17 at 09:27 PM

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.


avatar image M0xim Feb 15 '18 at 01:21 PM

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

avatar image theonecalledtom Sep 10 '18 at 04:57 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question