delphi - How can I load a package and keep the debugger working? -
I am using TJvPluginManager in JVLL to create and load BPL-based plugins for my program. The problem is, one of the plugins is not loading properly, and I can not debug it. Whenever I try to trace in the loading sequence, it goes to the LoadLibrary
API call, and then the debugger forgets what it is for it with fully source lines The program loses its ability to associate the code, provides meaningful data in the call stack, or displays local variables. It will still stop at breakpoint, but it breaks into the CPU window, in which the inline source code has been stripped.
This is in Delphi 2007 and 2009, and it's driving me crazy. How does one load a plug-in without breaking a debugger? Does anyone know why is breaking it in the first place?
Note: I am not looking for alternative methods of debugging. I know everything about tracing and logging and everything else. What I want to understand is what is going wrong and how to fix it. Surely I am not the only person who ever uses the TJV plugin manager?
Your question is not answered: Have you tried to debug the package project, host application set By putting the breakpoint into the startup code of the package?
Comments
Post a Comment