Share

Debugging a plug-in in Windows

Debugging a plug-in in Windows requires the Microsoft Visual Studio IDE.

  1. Launch the Alias application.
  2. Launch the Microsoft Visual C++ application.

In the Microsoft Visual C++ application:

  1. Select Build > Start Debug > Attach to Process.
  2. Select Alias and click the OK button.

In Alias:

  • Use the Plug-in Manager to load the plug-in to be debugged.

In the Microsoft Visual C++ application:

  1. Select Debug > Break.
  2. Open the source file associated with the plug-in that is to be debugged.
  3. Set a break point where you wish to start debugging.
  4. Select Debug > Go to continue debugging.

In Alias:

  • Invoke the plug-in and the appropriate code path to hit the breakpoint.

In the Microsoft Visual C++ application:

  • Step through the source interactively.

To debug a plug-in on Windows, include the following option in the C and C++ flags:

/DEBUG 

In addition, the following flag must be included on the link line:

/DEBUG

Was this information helpful?