DTE.Find.Execute Problem

  • Thread starter Thread starter amit
  • Start date Start date
A

amit

hi,

I have made a code which does a find and replace through code usinf ENVDTE DTE.find.Execute().

It works fine if we run it in debug mode and press f10 on execute but doesnot run in normal mode i.e. if u dont set up the breakpoint.

it does not raise an error but doesnt produce the result also.


pls reply ASAP

thanks

AMIT PUROHIT
 
amit,

Do you have any more information than that? Are you sure that you are
hitting that section of code at all? Perhaps a conditional, or some other
overlooked factor?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)


amit said:
hi,

I have made a code which does a find and replace through code usinf ENVDTE DTE.find.Execute().

It works fine if we run it in debug mode and press f10 on execute but
doesnot run in normal mode i.e. if u dont set up the breakpoint.
 
no thats hoe it is, could it be a possibility that ENVDTE is in debug mode by default and u have to change the mode, if yes please specif
 
Back
Top