Maximus5 / conemu-old-issues

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

Injection failure in Visual Studio #1850

Open Maximus5 opened 9 years ago

Maximus5 commented 9 years ago

Originally reported on Google Code with ID 1851

OS version: Win8.1 x64
ConEmu version: 141221

Every time I try to debug console application in Visual Studio 2013 I get conemu error
window:

Messagebox title: ConEmuC, PID=2068
Messagebox contents:
ConEmuC.X, PID=2068
Injecting remote into PID=5176
FAILED, code=-112:0x00000006

PID 2068 is ConEmuC process
PID 5176 is my console application process

This doesn't happen when I launch my application without debugging.

*Steps to reproduction*
1. Add devenv.exe to the list of hooked executables
2. Launch debugging of console application
3. Observe conemu error

Reported by kfazol on 2014-12-24 10:29:21

Maximus5 commented 9 years ago
Can you attach MiniDump's of these processes?
PID 2068 is ConEmuC process
PID 5176 is my console application process

Full dumps are not required, size will be small

Reported by ConEmu.Maximus5 on 2014-12-24 11:14:20

Maximus5 commented 9 years ago
There is something I noticed just now - the process ConEmuC is unable to attach to is
actually a vshost process. I don't know how to create minidump of it. The process explorer
just creates 0 bytes file. ConEmuC minidump is attached.

Let me know if you need more info.

Reported by kfazol on 2014-12-24 11:38:36


Maximus5 commented 9 years ago
Vshost is your debugging application. Never mind I can reproduce that now.

Reported by ConEmu.Maximus5 on 2014-12-24 11:46:23

Maximus5 commented 9 years ago
I suspect that VS is at certain points launching executables and then attaching them
to it's own tabs(like the powershell console as an example). I know that this wasn't
happening before maybe 2-3-4 weeks ago, but you guys update so often I have no idea
which version it started at :p

If you need anything from me to help fix this just let me know.

Reported by its.the.doc on 2014-12-24 21:49:25