CodeWorks for Android 1R4: Unable to start debugging

Hi,

I have Visual Studio 2015 Professional installed along with CodeWorks for Android 1R4. I also have an NVIDIA Shield here connected via USB, shows up in ADB, and in the Tegra Visual Studio toolbar.

Whenever I hit F5, I get "Unable to start debugging. Check your debugger settings by opening project properties and navigating to ‘Configuration Properties->Debugging’. I get this when trying to run samples as well as my own projects.

I can’t figure out what is incorrectly setup.

Below is my Nsight Tegra log:

2016-08-12 12:31:30.0650|INFO|Nvidia.PentaK.Utilities.RedirProcess|1-launch: C:\NVPACK\android-sdk-windows\platform-tools\adb.exe "version" [C:\NVPACK\android-sdk-windows\platform-tools]
2016-08-12 12:31:30.0860|INFO|Nvidia.PentaK.Utilities.RedirProcess|1-stderr:

2016-08-12 12:31:30.0860|INFO|Nvidia.PentaK.Utilities.RedirProcess|1-stdout:
Android Debug Bridge version 1.0.32
Revision 09a0d98bebce-android

2016-08-12 12:31:30.0860|INFO|Nvidia.PentaK.Utilities.RedirProcess|1-exited: code 0, finished in 16 ms
2016-08-12 12:31:30.0860|INFO|Nvidia.PentaK.Utilities.RedirProcess|2-launch: C:\NVPACK\android-sdk-windows\platform-tools\adb.exe "start-server" [C:\NVPACK\android-sdk-windows\platform-tools]
2016-08-12 12:31:30.1000|INFO|Nvidia.PentaK.Utilities.RedirProcess|2-stderr:

2016-08-12 12:31:30.1000|INFO|Nvidia.PentaK.Utilities.RedirProcess|2-stdout:

2016-08-12 12:31:30.1000|INFO|Nvidia.PentaK.Utilities.RedirProcess|2-exited: code 0, finished in 16 ms
2016-08-12 12:31:30.1000|INFO|Nvidia.PentaK.Target.Android.Tools.AdbClient|[ADB] Received response OKAY
2016-08-12 12:31:30.1000|INFO|Nvidia.PentaK.Target.Android.Tools.AdbClient|[ADB] Connected to adb server
2016-08-12 12:31:30.1000|INFO|Nvidia.PentaK.Target.Android.Tools.AdbClient|[ADB] Received response 001c
2016-08-12 12:31:30.1000|INFO|Nvidia.PentaK.Target.Android.Tools.AdbClient|[ADB] Received response 042201505178300001b1	device

2016-08-12 12:31:30.1091|INFO|Nvidia.PentaK.Target.Android.AndroidDevice|Device 042201505178300001b1 (NVIDIA SHIELD Android TV Android 6.0 (API 23)) is loaded

Any ideas?

After uninstalling everything (which I had done previously), I also went and removed any existing environment variables that related to CodeWorks and rebooted. After reinstalling (and then rebooting), it seems to be working.

If Microsoft were making cars. If the car would stop. You’d have to get out, get in again to start the engine. It seems that Google are copying the same car manufacturing practices these days.
Reboot - is essential :)

Hi. Sometimes, after the installation of a new extension Visual Studio internal state becomes inconsistent, in such case you can observe the following error:

External Media

In such case I suggest you to follow the instructions described at
https://github.com/Microsoft/VSProjectSystem/blob/master/doc/overview/mef.md#mef-inside-visual-studio
Basically, you need to execute the following two commands from VS developer command prompt:

Devenv /UpdateConfiguration
Devenv /ClearCache

VS MEF provides a detailed error report when it finds errors inside MEF compositions. It always tries to keep the rest of the components working by removing incorrect components. This process may go further and remove more components depending on components removed earlier. Reviewing the error report file will help to diagnose issues such as the reason why a certain component is never being loaded into VS.

The error report file can be found at
%AppData%\Microsoft\VisualStudio[Version]\ComponentModelCache\Microsoft.VisualStudio.Default.err