Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
How to configure and run the debugger for TIBCO Spotfire Analyst extensions
Solution:
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.? 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.
Comments
0 comments
Article is closed for comments.