Debug locally using Microsoft Visual Studio
- Last UpdatedApr 08, 2026
- 1 minute read
This section details how to perform local debugging on a computer that has Microsoft Visual Studio installed.
To perform local debugging on a computer that has Microsoft Visual Studio installed
- On the host where the component is installed, start Microsoft Visual Studio as an Administrator.
- Select Debug, and then Attach to Process.
The Attach to Process dialog appears. - From the Attach to field, select Select.
A dialog appears. - Select the following:
- Automatic: Managed (v4.6, v4.5, v4.0) code.
Do not select Native or you will not be able to end the debugging session without terminating the BLTHost application.
- Select the BLTHost process that is hosting your BLT component.
If the BLTHost you want to debug is not in the list, select Show processes from all users, and then select Refresh.
- Automatic: Managed (v4.6, v4.5, v4.0) code.
- Select OK.
- Select Attach.
Microsoft Visual Studio attaches to the process. - To set a breakpoint in your code, use the debugger.
- To stop debugging without stopping the BLTHost process, seelct Debug, and then Detach All.