Use an Interactive Debugger with CTI32

⌘K
  1. Home
  2. CTI32 Legacy Articles
  3. Use an Interactive Debugger with CTI32

Use an Interactive Debugger with CTI32

Author’s note:  This article supports our legacy products.  At Inventive Labs, after two decades of providing telephony tools, we never stop supporting those who rely on our products to run their businesses.  We no longer recommend Dialogic. This article is for our customers who are using legacy equipment. For more information about these legacy products and where we are today, read  Ditch Dialogic & Convert to Voice Elements.

Interactive debugging of a telephony application should be limited to one or two concurrent calls. Any more and the system would have multiple threads “breaking” on the same lines of code overwhelming the developer in no time.

You can easily debug your DLL by using the following:

  • Compile your DLL
  • Start the CTI32 Service
  • Use the “Attach To Process…” feature of your debugger.
    • Select the CTI32Svc.exe process from the list and click “Attach”.
    • You may need to check the box “Show Processes from all users.”
  • Set your breakpoints.
  • Place a call.

At this point the system will break on your selected lines of code and allow you to step through them.

VB USERS

It may be necessary for you to uncheck or deselect the “Enable Just My Code (Managed Only)” option in the Tools/Options/Debugging node of VisualStudio.

In some cases you may wish to select Project Properties->Debug-> Enable Unmanaged Code Debugging

Was this article helpful to you? No Yes 12

How can we help?