www.digitalmars.com         C & C++   DMDScript  

c++.chat - Debugging DLL - Photoshop plugin - advice needed

reply Peter Heckert <peter.heckert arcor.de> writes:
Hello,

Im not very experienced with windows development.

I compiled and linked one of the examples in the photoshop sdk with dmc.
The plugin sucessfully loads and executes in photoshop.

Essentially photoshop filter-plugins are dll's, but they must be copied 
into photoshops plugin folder and they must be renamed from "plugin.dll" 
to "plugin.8bf".
I have no debug symbols for the main application (photoshop)

So how should I debug this beast?

I did not get any further than to assembly level, where photoshop 
stopped at some int 3 instructions. No symbols loaded.

TIA,

Peter
Jul 20 2006
parent Peter Heckert <peter.heckert arcor.de> writes:
Peter Heckert schrieb:
 Hello,
 So how should I debug this beast?
 
 I did not get any further than to assembly level, where photoshop 
 stopped at some int 3 instructions. No symbols loaded.
 
I had more success using another host-application than photoshop. The dll halted at the first breakpoint. But then I couldnt step or go, again hanging at "int 3" in the main application. Mostly the same using windbg. I am asking myself if there are some "magic" registry settings, that could help or a third-party debugger ... Peter
Jul 21 2006