all groups > dotnet faqs > june 2006 >
You're in the

dotnet faqs

group:

unable to attach the process



unable to attach the process SenthilVel
6/26/2006 6:01:29 PM
dotnet faqs: 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

Re: unable to attach the process Vadym Stetsyak
8/23/2006 1:20:33 PM
SGVsbG8sIFNlbnRoaWxWZWwhDQoNCltza2lwcGVkXSANCg0KIFM+IHdoZW4gaSBjbGljayBvbiB0
aGUgbmF0aXZlIGNoZWNrIGJveCBpIGRvZCBub3QgZ2V0IHRoZSBlcnJvci4NCg0KIFM+IGJ1dCB3
aGVuIGkgZG9udCBjbGljayBvbiB0aGUgbmF0aXZlIG9yIHNjcmlwdHMgY2hlY2sgYm94IGkgZ2V0
IHRoZSBhYm92ZQ0KIFM+IGVycm9yLg0KDQogUz4gd2h5IGlzIHRoaXMgc28gPw0KDQpUaGF0IGlz
IGJlY2F1c2UgdmI2IGV4ZWN1dGFibGUgaXMgYSBuYXRpdmUgZXhlY3V0YWJsZSwgdGhlcmUgaXMg
bm8gQ0xSIHRoZXJlIHRvIHJ1biBtYW5hZ2VkIGNvZGUuDQpUaGF0IGlzIHdoeSBkZWJ1Z2dlciBp
cyBzYXlpbmcgdGhhdCBpdCBjYW5ub3QgYXR0YWNoIHRvIHRoZSBleGUuDQoNCllvdSBjYW4gc2V0
IE1peGVkIG1vZGUgaW4gdGhlIGRlYnVnZ2VyIGF0dGFjaCBwYXJhbWV0ZXJzLg0KDQotLQ0KUmVn
YXJkcywgVmFkeW0gU3RldHN5YWsNCnd3dzogaHR0cDovL3ZhZG15c3QuYmxvZ3Nwb3QuY29t
AddThis Social Bookmark Button