Starting ADPlus debugger from a session

The Progress Knowledge base (entries P116692 and P130210) mentions the Microsoft ADPlus tool.
I have written a small procedure that can be run in a prowin32 session (db connection required) to start the ADPlus tool for that session.

Requirements

  • ADPlus.exe is installed and copied to c:\progress\adplus.exe. I had trouble with paths containing spaces.
  • a directory c:\tmp\crashlog must exist
  • Paths in the code are for 64bit windows, these will differ in 32bit
  • A database connection. I use _myconnection to get the PID of the current session. (A pid attribute on the session handle would be nice)

How to start

run startadplus.w persistent


AttachmentSize
startadplus.w10.2 KB