Windows Phone cannot debug Solution

Source: Internet
Author: User

After such a long time of contact with Windows Phone, I recently suddenly found that Windows Phone cannot debug frequently on the simulator, but it is possible to create a new project.

1. The problem is described as follows:

The project can be opened a few days ago, but it does not modify the code or code, but there is no problem after careful troubleshooting, but when F5 debug, observe that the taskbar shows connect-> deploy, windows Phone emulator automatically pops back to the home page when launch UI task is executed. The project is not executed and enters the program list. The project exists in the program list, but it does not respond after you click it. The same problem is detected multiple times.

2. troubleshooting:

Is it a code issue? I think there is no problem with the code, and then set the breakpoint. It is strange that the startup in the app. CS file is not even accessed during debugging.

OK, create a project, debug all OK, strange, why other projects can debug, the result is displayed normally?

Is it really a source problem? If the source is fruitless again, it seems that some people have such problems, but the solution is to say that the real machine test is not unlocked and is not placed on the home interface, however, the simulator is used occasionally and there is no unlocking problem ......

After a long time, this problem suddenly appeared in multiple projects.

3. Problem Solving:

Occasionally, open the properties of the project and find that the startup object item is empty. Is this the reason? With a try, set this value to "namespace. app ". Then debug, everything is back to normal! Inniu ......

In fact, this problem is very simple, but I don't know where the problem is, and there is no clue for troubleshooting. First, debug has not entered any source, which brings great troubles to myself and cannot be solved.

Many people on Google have encountered this problem. Isn't there anyone in China? I am sending this article to help you avoid the same problems.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.