unable to attach the process

S

SenthilVel

Hi

I have a question when debugging dotnet code when attaching vb6.exe code to
this process.

i get an error like :

unable to attach the process. there is no managed code running in the
process. INorder to attach a process with the .NET Debugger, managed code
must be running in the process before attaching.

what i did is : went to Process-->attach--added vb6.exe process.

when i click on the native check box i dod not get the error.

but when i dont click on the native or scripts check box i get the above
error.

why is this so ?

Thanks
Senthil
 
V

Vadym Stetsyak

Hello, SenthilVel!

[skipped]

S> when i click on the native check box i dod not get the error.

S> but when i dont click on the native or scripts check box i get the above
S> error.

S> why is this so ?

That is because vb6 executable is a native executable, there is no CLR there to run managed code.
That is why debugger is saying that it cannot attach to the exe.

You can set Mixed mode in the debugger attach parameters.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top