1. arthurwalasek's Avatar
    I am new to Visual Studio 2012 and Windows Phone development. I can successfully build (with Visual Studio) and deploy (with Application Deployment program) my application to a windows phone 8. However, I cannot debug, breakpoint, etc from within Visual Studio. There is no "Device" debug target (in fact my only target says "Start" - which doesn't work). I do not have capabilities on this machine to run the emulator (no SLAT), but I was under the impression that I should still be able to debug on the device.

    What am I doing wrong.???

    This is a basic Visual Studio 2012 Express for Windows 8 Phone development environment...

    Please help :)
    07-17-2013 07:25 PM
  2. Jnbs's Avatar
    I am new to Visual Studio 2012 and Windows Phone development. I can successfully build (with Visual Studio) and deploy (with Application Deployment program) my application to a windows phone 8. However, I cannot debug, breakpoint, etc from within Visual Studio. There is no "Device" debug target (in fact my only target says "Start" - which doesn't work). I do not have capabilities on this machine to run the emulator (no SLAT), but I was under the impression that I should still be able to debug on the device.

    What am I doing wrong.???


    This is a basic Visual Studio 2012 Express for Windows 8 Phone development environment...

    Please help :)
    Without the emulator, you are not able to debug unless you have a device.. Also, are you sure that you downloaded the correct package. https://dev.windowsphone.com/en-us/downloadsdk .. Double check maybe you have just VS 2012 Express and not the SDK + VS 2012 Express for Windows Phone
    07-18-2013 02:43 PM
  3. arthurwalasek's Avatar
    I do have a device, Windows recognizes it, and I am able to deploy the app to the phone via the Application Deployment application. I have installed the correct version of the Visual Studio, it even gave me the warning while installing that it could not install the Emulator as my machine didn't support the requirements.

    On another computer, one that has Emulator, on the debug target toolbar, there is an dropdown combo that shows (Device, Emulator ..., ...). On my computer, I do not even have that drop down, mine just shows (arrow) Start. The other PC shows (arrow) dropdown list.

    I am wondering if deploying and debugging via Visual Studio is not supported unless you have an emulator or emulator capabilities. I have also made sure that I have that service running that is the USB Windows 8 Phone communication...
    07-18-2013 07:47 PM
  4. Catholic Tech Geek's Avatar
    What is the processor of the computer that you installed Visual Studio on? Your processor has to support Second Level Address Translation (SLAT) in order to run Hyper-V (SLAT is found in Intel core i3, i5, and i7 processors). If your processor is an AMD processor, SLAT is supported if the processor is a third generation Opteron processor or later. If you're sure you have that, check out How to enable Hyper-V for the Windows Phone Emulator for the procedure to get Hyper-V installed and configured.

    If you installed Visual Studio on a computer with a Core 2 Duo processor, you are unfortunately s.o.l. (sold out of luck), as the Core 2 Duo does not have support for Second Level Address Translation. If this is the case, however, you can debug your programs on a WP8 device (with no problems), but not on the emulator.
    07-18-2013 09:38 PM
  5. arthurwalasek's Avatar
    Your processor has to support Second Level Address Translation (SLAT) in order to run Hyper-V (SLAT is found in Intel core i3, i5, and i7 processors).
    I know I can't run Hyper-V. I know I can't run the emulator. That is not what this question is about....
    If this is the case, however, you can debug your programs on a WP8 device (with no problems), but not on the emulator.
    Great... Tell me how to debug my program on a WP8 device with Visual Studio. I do not have the option to do that very thing (this is the point to the whole question). Yes, I do a have an Intel Core 2 Duo processor. No, I cannot run the emulator. Yes, I do have a Windows Phone 8 (attached). No, I cannot seem to find a way to debug using the device...
    07-18-2013 09:50 PM
  6. arthurwalasek's Avatar
    untitled.jpg
    This is my Visual Studio Environment...
    07-18-2013 09:55 PM
  7. Pierre_Martin_7's Avatar
    Similar issue here --- any help appreciated.
    I just took the Visual Studio 2012 Update 3. I previously had all the debug target options (WP 7.1, ...) under the debug arrow. It reverted to just start, as described in this issue. Trying to figure out if the hook for launching the windows phone emulator moved somewhere else in the IDE, but can't figure it out. This is somewhat annoying...
    Before applying VS 2012 Update 3 (an hour ago), I could launch the emulator fine and deploy to it, both actions triggered from the debugger arrow on a windows phone app project in VS 2012.
    OS: Windows 8.0
    Project Target: Windows Phone 7.1
    IDE: VS 2012 Update 3
    Thx!
    07-20-2013 01:14 PM
  8. Pierre_Martin_7's Avatar
    Found a solution, as documented here : Setting Visual Studio to target Windows Phone 7 emulator by default | DotNetForge

    1. Close all Visual Studio and Windows Phone Emulator instances.
    2. Delete the contents of %LocalAppData%\Microsoft\Phone Tools\CoreCon.
    3. Restart Visual Studio.

    This did it. This issue was caused by installing VS 2012 Update 3 for me.
    07-20-2013 06:56 PM
  9. Piyush Raja's Avatar
    Found a solution, as documented here : Setting Visual Studio to target Windows Phone 7 emulator by default | DotNetForge

    1. Close all Visual Studio and Windows Phone Emulator instances.
    2. Delete the contents of %LocalAppData%\Microsoft\Phone Tools\CoreCon.
    3. Restart Visual Studio.

    This did it. This issue was caused by installing VS 2012 Update 3 for me.
    This solved my problem. Thanks!
    01-12-2014 09:02 AM

Similar Threads

  1. Can't sync with One Note
    By knjmcdonald in forum Windows Phone 8
    Replies: 8
    Last Post: 04-04-2014, 08:02 PM
  2. Do WP8 Devices get WP9 ? (I think No)
    By Sanjay Chandra in forum Windows Phone 8
    Replies: 77
    Last Post: 01-06-2014, 05:33 PM
  3. Wireless security camera that works with WP8
    By rob45 in forum Windows Phone 8
    Replies: 3
    Last Post: 07-19-2013, 12:47 AM
  4. No more m.youtube.com wrappers please!
    By AneticsUK in forum Windows Phone Apps
    Replies: 2
    Last Post: 07-18-2013, 01:42 PM
  5. NCAA terminates contract with EA
    By HeyCori in forum Phone & Tablet Gaming
    Replies: 1
    Last Post: 07-18-2013, 04:57 AM
LINK TO POST COPIED TO CLIPBOARD