Problem with breakpoint not hit when vs debug is resolved

Source: Internet
Author: User

ArcMap add-in Plug-in development (arcengine10.1,arcgis10.1) is performed in VS2010, at runtime . NET4.0, set breakpoints in the program to debug, but after the program does not stop at the breakpoint, and the original dark brown Breakpoint circle marker has become white, there is a warning sign, hint: you are currently not hit point, no symbols loaded for the document .

Online Search the solution to this warning suggests that the problem is common and there are many solutions. I tried all the way through the internet and I couldn't solve my problem. Close to the brink of collapse, almost want to reload vs.

Because ArcMap starts automatically when you run the program, I think the problem might be on the VS setting, or it might be on ArcMap. In order to further locate the source of the error, a clean console program was created, and it was found to be properly debugged. So, the problem with the VS setting is ruled out, so the problem should be on ArcMap. Continue to search the ArcGIS add-in plug-in development of the relevant data, really found that the problem is in ArcGIS. Originally, the ESRI series software was not supported by default at startup. NET4.0, but . NET2.0. Then the solution is simple, just modify the ArcMap configuration file:

1. Open the ArcMap.exe.config file under the D:\Program files (x86) \arcgis\desktop10.1\bin directory:

2. Modify <startup> label contents as follows:

Problem Solving!

Problem with breakpoint not hit when vs debug is resolved

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.