Maximus5 / conemu-old-issues

Old issues imported from googlecode. Project was moved to
https://conemu.github.io
6 stars 1 forks source link

Switching to Visual Studio shows "Injecting failed" message. #1657

Open Maximus5 opened 9 years ago

Maximus5 commented 9 years ago

Originally reported on Google Code with ID 1658

OS version: Win7 x64
Visual Studio 2013 (seems to happen also on Visual Studio 2010).
ConEmu version: 140707 preview

I'm running several Visual Studio instances (most 2013, sometimes 2010) at the same
time. Some of them are used to debug console applications, which are captured by ConEmu.
In addition, I have several ConEmu windows/tabs open (primarily git bash).

Switching to one of the Visual Studio windows (doesn't seem to matter if it is one
with a console application or with a GUI application) yields the following message:

---------------------------
ConEmuC, PID=24452
---------------------------
ConEmuC.X, PID=24452
Injecting remote into PID=836
FAILED, code=-300:0x00000005
---------------------------
OK   
---------------------------

And that everytime I do a task switch. I'm not sure how to reproduce this, but it's
really annoying. The PID in the message is always the PID of the Visual Studio instance
I'm switching to.

Until yesterday, I used an older version (like 1306XX or something) which did not have
this bug. I updated to get rid of another problem with debugging (captured console
applications could not be debugged properly).

Reported by Floechen.news@gmx.de on 2014-07-31 08:46:02

Maximus5 commented 9 years ago
Note that when working with the Visual Studio instance, the message pops up from time
to time even though I'm staying within the window.

Reported by Floechen.news@gmx.de on 2014-07-31 09:01:24

Maximus5 commented 9 years ago
Antiviral or sort of software?

Reported by ConEmu.Maximus5 on 2014-07-31 09:08:53

Maximus5 commented 9 years ago
Another question. What accounts are used for ConEmu.exe and devenv.exe?

Can you build ConEmu and do some debugging?

Reported by ConEmu.Maximus5 on 2014-07-31 09:44:51

Maximus5 commented 9 years ago
Using Microsoft Security Essentials. But I'm doing so for a long time now, i.e. no new
antivirus. I attached my configuration to #1659. I guess this problem will also be
gone after a restart. I'm sometimes not really nice to my programs and interrupt debugging
when within critical functions, not sure if that may lead to this kind of problem.

I'm running ConEmu.exe and devenv.exe from the same account, an Administrator account
with UAC enabled (i.e. requires elevation for admin actions). Both are run unelevated
(don't know if that's a problem for the hook).

I could build ConEmu and debug, but I've currently not the time. The problem is happening
on my machine at work, not at home. I'll report when I find anything that may be helpful.

Reported by Floechen.news@gmx.de on 2014-07-31 09:59:22

Maximus5 commented 9 years ago
Just noticed. You are using OldBuild. Update to the latest one, bay be that will fix
both your issues.

Reported by ConEmu.Maximus5 on 2014-07-31 14:30:58