If breakpoints are not hit when debugging

Breakpoints should be used and hit when debugging. If your breakpoints are not hit during a debugging session, follow the information below to troubleshoot the issue.

Does the <formname>.pdb file exist in My Documents\Proficy Workflow\UI Assemblies\ and does the timestamp on it match <formname>.dll? If not, choose one of the following methods to repair the problem.

  • Update the <formname>.pdb file directly by copying it from My Document\Proficy Workflow\UI Projects\<formName\bin\Debug\<formName>.pdb
  • In the Additional Files area of the Display Editor, remove and re-add the .pdb file, and then save the form.
    Note: If this file is modified on disk, the file saved to the server is not automatically modified. You must remove and re-add the file in the Display Editor.

The .pdb file is reloaded only if the .dll file has changed. If you modified the .pdb file but not the .dll file, restart the Workflow client and then re-attach to the Workflow client to debug.