DIAdem Script Debugging Not Loading Data in Debug Windows

Updated Jun 20, 2023

Reported In

Software

  • DIAdem

Issue Details

I am using the DIAdem Script debugging functions, such as the "Current Variable Contents" or "Watch" windows.
When trying to debug my script, the "Current Variable Contents" window does not show anything and all entries in the "Watch" window show as "???"

Solution

This issue comes from the Microsoft Windows Script Debugger not being properly registered with DIAdem. To solve this, try the following:
  1. Ensure that the Microsoft Debugger "pdm.dll" is installed on the system. This should appear under DIAdem -> Help -> About -> Script Engine and be registered in "C:\Windows\System32\F12\pdm.dll" (64-bit DIAdem) or "C:\Windows\SysWOW64\F12\pdm.dll" (32-bit DIAdem)
  2. Run the "DIAdemStart" executable contained at "C:\Program Files\National Instruments\DIAdem 20XX\DIAdemStart.exe" to re-associate the installer registry options. Replace 20XX with your DIAdem version.
  3. Close DIAdem and delete or rename the automatically generated folder contained in "%USERPROFILE%\AppData\Local\National Instruments\DIAdem". Reopen DIAdem to regenerate this folder.