If you are looking for software to use, go to Huajun Software Park! software release
Location: front pageTutorial strategyTutorialOther tutorials AutoCAD201...

Tutorial on how to deal with AutoCAD2010 failing to hit breakpoints on VS2010

Author: Aotuman Date: 2022-02-18

AutoCAD 2010
AutoCAD 2010-v18.0.55.0 Chinese Green Version

CAD software Storage: 1.91 GB Time: 2022-04-22

Software introduction: AutoCAD 2010 is a very practical drawing software produced by Autodesk. AutoCAD 2010 has a wide range of applications, such as construction...

Download now

                                                                                                                                                                                                                                  are you familiar with AutoCAD2010 software? During the acquisition process, will you handle the situation where breakpoints cannot be hit on VS2010? Today, the editor shared a tutorial on how to deal with AutoCAD2010 failing to hit breakpoints on VS2010. Friends in need should not miss it.

Processing method one

Start the AutoCAD2010 program, load the component you developed (automatic loading can be achieved by writing to the registry), and then attach it (acad.exe) to VS2010 (Debug->Attach to process). Note that the selected code type automatically determines the type by default. In a few cases, the automatically determined type may not be correct. In this case, symbols cannot be loaded, as described in question 3, so we need to manually select the code type.

How to solve the problem that AutoCAD2010 cannot hit breakpoints on VS2010?

Processing method two

Modify the AutoCAD configuration file, which is in the AutoCAD installation directory. Open the configuration file (acad.exe.config) as follows:

How to solve the problem that AutoCAD2010 cannot hit breakpoints on VS2010?

Modify the configuration file so that it contains the node as follows:

How to solve the problem that AutoCAD2010 cannot hit breakpoints on VS2010?

Processing method 3

​​ ​Add the host acad.exe file to your solution as an existing project and set the debugger to v2.0.

Right-click Solution Explorer, select Add->Existing Project, and browse to the AutoCAD startup file Acad.exe

How to solve the problem that AutoCAD2010 cannot hit breakpoints on VS2010?

Right-click the project and set it as a startup project. Set it as a startup project.

How to solve the problem that AutoCAD2010 cannot hit breakpoints on VS2010?

Open the project properties dialog box

How to solve the problem that AutoCAD2010 cannot hit breakpoints on VS2010?

Set the debugger type to managed (version 3.5, 3.0, 2.0)

How to solve the problem that AutoCAD2010 cannot hit breakpoints on VS2010?

The above is the tutorial brought by the editor on how to deal with AutoCAD2010 failing to hit breakpoints on VS2010. Let’s learn together. I believe it can help some new users.

Related articles