devxlogo

Debugger is not Being Invoked

Debugger is not Being Invoked

When working on developing or debugging an app that is created via automation (i.e. ActiveX DLL), keep in mind the following: if you invoke that app from a calling program (exe) in a normal fashion and leave the calling program running, then run the app you are debugging in the VB IDE, GOTCHA!, your debug and break points are not going to get hit. The calling program still has the “real” automation project in memory, and is not using the version from the VB IDE. In order for your VB IDE version to be used, you must close down the calling program that is running and restart it. You will also see an example of this when you try to make your automation project into a DLL and it balks, saying “Permission Denied.” Again, close down any calling programs.

devx-admin

Share the Post: