How to configure and run the debugger for TIBCO Spotfire Analyst extensions
book
Article ID: KB0076275
calendar_today
Updated On:
Products
Versions
Spotfire Developer
All Versions
Description
Below are two ways to configure and run a debugger in order to debug a TIBCO Spotfire custom extension in the TIBCO Spotfire Analyst client.
Issue/Introduction
The article explains how to configure and run the debugger for TIBCO Spotfire Analyst extensions
Resolution
Method 1:
Open the solution in Visual Studio and build the project.
Open Package Builder > Add the Custom Extension > Validate and Save
Go back to Visual Studio and in the Solution Explorer, right-click the project, and then select Properties.
Select the Debug tab. The Debug dialog is displayed.
Click Start external program, and then browse to the location of the Starter Spotfire executable.The special Spotfire executable (Spotfire.Dxp.exe) is located in the Starter directory in the Spotfire SDK distribution.
From the Visual Studio toolbar, click Start.
Method 2:
Open the custom extension in Visual Studio and build the project. Insert break points (Ex: In the CustomTool Example you can insert a break point in the PageTool.cs or any other)
Open Package Builder > Add the Custom Extension > Validate and Save > Run the Configuration
Now in Visual Studio, Goto Debug > Attach to Process > Spotfire.Dxp.exe
In the Spotfire analyst, execute the tool and now you should be able to debug the code and hit any breakpoints inserted in the code.
Additional Information
Doc: TIBCO Spotfire Developer Documentation > Configuring and running the debugger for Spotfire Analyst extensions