amir12

i have an add-on to IE that has been written in VC 2003 under XP.

now i'm trying to make it works under Vista, so i rebuild it in VC 2005 and after some changes it's compiled fine.

in addition, i changed all the registry/files access to the new locations using IEGetWriteableHKCU and IEGetWriteableFolderPath.

if i run IE as an administrator, everything is ok but if in protected mode the IE shows a message on start up saying that it stoped working and everything is stucked. (it seems that even the "SetSite" method of the BHO is not called)

the problem is that i can't debug this problem because if the visual studio is started as an administrator, it opens the debuged application with its integrity level.

is there a way to debug an application that will be opened in protected mode

thanks in advance,

Amir.




Re: Internet Explorer Extension Development debugging IE in protected mode


Re: Internet Explorer Extension Development debugging IE in protected mode

amir12

already read this document but i couldn't find an efficiency way of debugging except logging.

what i'm looking for is a way to debug via VC environment, breakpoints, step in etc.






Re: Internet Explorer Extension Development debugging IE in protected mode

amir12

found a way

launch IE in protected mode then attach the debugger to this instance of IE.