These are chat archives for EasyHook/EasyHook

17th
Aug 2016
Nikolaj Mariager
@TinkerWorX
Aug 17 2016 18:57
I've always wondered. Is there a way to easily attach the Visual Studio debugger to the injected DLL to get proper debugger support?
I guess I could show a message box in the EntryPoint.Run method, attach the debugger, then resume the process, but that's not exactly great workflow.
I'm talking strictly .NET debugging, no need to worry about the unmanaged parts.
Justin Stenning
@spazzarama
Aug 17 2016 21:49
@TinkerWorX You can do both managed and unmanaged, simply attach the debugger before you inject. Be sure to have your break points already set in your code.
Nikolaj Mariager
@TinkerWorX
Aug 17 2016 21:50
Yeah, I'm doing it by calling Debugger.Launch() in the EntryPoint constructor. Seems to be the simplest approach.
Justin Stenning
@spazzarama
Aug 17 2016 21:51
That's probably about as easy as you will get
Nikolaj Mariager
@TinkerWorX
Aug 17 2016 21:53
Hey, now that I got you. What does the third version number mean? Build count?
Justin Stenning
@spazzarama
Aug 17 2016 22:05
Ms auto build number based on date
I don't like it but can't do anything about it until 2.8 when it will change
Nikolaj Mariager
@TinkerWorX
Aug 17 2016 22:06
Lots of changes coming in 2.8?
Justin Stenning
@spazzarama
Aug 17 2016 22:27
Not yet, some x64 stack unwinding stuff contributed by someone