Debugging a .NET Component
You can debug .NET components as well as .NET applications that you build in PowerBuilder.
.NET Assembly component
You can run or debug an
assembly project from the PowerBuilder UI if you fill in the Application
field (and optionally, the Argument and Start In fields) on the
project Run tab in the Project painter. SeeVersion, Post-build, and Run tab for a description of the
Run tab fields for a .NET Assembly project.
.NET Web Service component
When you start the debugger and Internet Explorer is listed
as the application to run a Web Service project, a browser test page
opens with links to the Web services deployed from your project.
Using the DEBUG symbol
If you used the DEBUG conditional compilation symbol in code
for the nonvisual objects you deploy as a Web service and you want
this code to run, you must make sure that the enable DEBUG symbol check
box is selected before you deploy the project. If you plan to debug
the assembly or Web service, you should make sure the project is
deployed as a debug build.
If you use a PowerBuilder .NET Windows Forms or .NET Web Forms application
to debug the .NET component project, you must copy the generated PDB
file containing the DEBUG symbols for the component to the deployment directory
of the .NET Windows Forms or .NET Web Forms application. Otherwise
it is likely that the debugger will not stop at breakpoints in the assembly
that you generate from the .NET component project.