I recently discovered that the only way to debug InDesign CS 5.5 was to make the program output debugging informations and then attach the visual studio debugger in it.
But, sometimes, it somehow goes into a dll or something making harder to see what's going on.
Going step-by-step when debugging the plugin does just a request to the sql (thru a library) and then, it stop responding.
Since it stopped responding right on a dialog. If I press cancel, the program closes for no reason! Not a message, anything!
Then I went to the event viewer on windows and found out that it's a plugin that's crashing. A "Required" InDesign Plugin. It's name is "AppFramework.rpln".
And the respective message I see in the event viewer is: Application that failed indesign.exe, version 7.5.0.142, module that failed appframework.rpln, versão 7.5.0.142, address that failed 0x0000448e. (not exactly like this, since I just translated).
I'm porting this code from 2.0 to 7.5 (CS5.5), so I think something might be missed there.
What you guy think ?