Debugging
Follow these steps to debug import handlers.
-
Close Blackbaud CRM.
-
Build and deploy the UI Model assembly that contains your import handler code and debug (.pdb) files to Infinity web server.
-
Do not make changes to your batch import handler code.
-
Restart Blackbaud CRM. Wait until the application completely restarts.
-
Navigate to Administration\Import and select an exiting import process or configure a new import process.
-
Within Visual Studio, select Tools\Attach to Process…
-
Attach to the w3wp.exe process.
-
Set a break point within your UI Model project's import handler code, such as the BeforeRowImport function.
-
Start the import process to toggle the break point within your import handler code.