{"id":41,"date":"2013-02-04T17:15:30","date_gmt":"2013-02-04T16:15:30","guid":{"rendered":"http:\/\/sysprogs.com\/blog\/?p=41"},"modified":"2013-02-04T17:17:47","modified_gmt":"2013-02-04T16:17:47","slug":"how-to-debug-vs-android-projects","status":"publish","type":"post","link":"https:\/\/sysprogs.com\/w\/how-to-debug-vs-android-projects\/","title":{"rendered":"How to debug VS-Android projects"},"content":{"rendered":"<p>Native Android development can be really puzzling. Multiple tools, multiple versions, undocumented features, script errors, Google clearly stating that NDK will not benefit most apps&#8230;<\/p>\n<p>As of February 2013, there are two ways of building a native Android app with Visual Studio: our <strong><a href=\"http:\/\/visualgdb.com\/\">VIsualGDB <\/a><\/strong>tool and the <a href=\"http:\/\/code.google.com\/p\/vs-android\/\"><strong>vs-android<\/strong><\/a> project. Although vs-android does not include a debugger, it is still used by many developers to build native Android apps. The key is its build system. Being based on the new MSBuild engine introduced with Visual Studio 2010, it creates a separate platform in Visual Studio using the Android GCC instead of Microsoft C++ compiler. Although this does not involve NDK makefiles and will not automatically reflect any changes made with the new NDK releases, it is still a pretty smooth way of building your Android app.<\/p>\n<p>Having said this, we&#8217;re proud to announce that <a href=\"http:\/\/visualgdb.com\/download\/\">VisualGDB 3.0<\/a> is now compatible with <strong>vs-android<\/strong>. We have made it really simple and smooth: simply open an existing vs-android project, select it as the startup one and then use the Android-&gt;Debug Android App command in Visual Studio to deploy and debug it automatically.<\/p>\n<p><a href=\"http:\/\/sysprogs.com\/blog\/wp-content\/uploads\/2013\/02\/05-launching.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-42\" title=\"Launching project\" src=\"http:\/\/sysprogs.com\/blog\/wp-content\/uploads\/2013\/02\/05-launching.png\" alt=\"\" width=\"700\" height=\"545\" srcset=\"https:\/\/sysprogs.com\/w\/wp-content\/uploads\/2013\/02\/05-launching.png 700w, https:\/\/sysprogs.com\/w\/wp-content\/uploads\/2013\/02\/05-launching-300x233.png 300w, https:\/\/sysprogs.com\/w\/wp-content\/uploads\/2013\/02\/05-launching-385x300.png 385w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p>There is also a detailed step-by-step tutorial on <a href=\"http:\/\/visualgdb.com\/tutorials\/android\/vs-android\/\">debugging vs-android projects with VisualGDB<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Native Android development can be really puzzling. Multiple tools, multiple versions, undocumented features, script errors, Google clearly stating that NDK will not benefit most apps&#8230; As of February 2013, there are two ways of building a native Android app with Visual Studio: our VIsualGDB tool and the vs-android project. Although vs-android does not include a &hellip; <a href=\"https:\/\/sysprogs.com\/w\/how-to-debug-vs-android-projects\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to debug VS-Android projects<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/sysprogs.com\/w\/wp-json\/wp\/v2\/posts\/41"}],"collection":[{"href":"https:\/\/sysprogs.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sysprogs.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sysprogs.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sysprogs.com\/w\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":3,"href":"https:\/\/sysprogs.com\/w\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":44,"href":"https:\/\/sysprogs.com\/w\/wp-json\/wp\/v2\/posts\/41\/revisions\/44"}],"wp:attachment":[{"href":"https:\/\/sysprogs.com\/w\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sysprogs.com\/w\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sysprogs.com\/w\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}