How to debug the application
Debugging an XBSA application is best done through the log files generated by NetBackup. This assumes that the XBSA application itself compiles and does not have any known run-time errors.
See Logging and NetBackup for more information on this topic. You should also see the Logging section in the NetBackup System Administrator's Guide, Volume I. The NetBackup Verbose level controls the amount of debug messages that are sent to the logs.
One of the advantages of debugging in this way is that it ties in with the NetBackup logging that is going on for the other NetBackup processes. In many cases, it can be a configuration issue that is causing a failure rather than a problem in the NetBackup XBSA interface or the XBSA application.