Article ID: 920194
Article Last Modified on 2/6/2007
APPLIES TO
- Microsoft Office Small Business Accounting 2006 Software Development Kit 1.2
- Microsoft Office Small Business Accounting 2006
- Microsoft Office Small Business Management Edition 2006
INTRODUCTION
This article describes how to debug a user interface (UI) add-in that is created by using the Microsoft Office Small Business Accounting Software Development Kit (SDK).
MORE INFORMATION
To debug a UI add-in in Microsoft Visual Studio, follow these steps:
- Compile the UI add-in under the Debug configuration in Visual Studio. The Debug configuration compiles the UI add-in without optimization and with full symbolic debug information. By default, these are the settings for the Debug configuration.
- Copy the UI add-in assembly to the appropriate directory.
- Start Small Business Accounting, and then install the add-in by using the Add-in Manager.
- Close Small Business Accounting, and then restart Small Business Accounting.
- Open the UI add-in project in Microsoft Visual Studio .NET, click Tools, and then click Debug Processes.
- In the Processes window, click the SBA.exe process, and then click Attach.
- In the Attach to Process window, click to select the Common Language Runtime check box under Choose the program types that you want to debug, and then click OK.
- Close the Processes window.
- Add breakpoints to the code files in the UI add-in project.
- In Small Business Accounting, open the UI add-in, and then use the UI add-in. When the breakpoint is reached, Visual Studio pauses the execution of the UI add-in. Visual Studio then stops at the breakpoint.
Additional query words: SBA
Keywords: kbexpertiseadvanced kbhowto KB920194