HammerDB:
This Blog is first of all memos for me!! From time to time I get exposed to new and cool stuff for developers and architects ,most of the time its a solution for a problem or tips or tricks, so, I would like to track my memos and share it with you, it can save your time and nervous, I hope you will enjoy it - by Yaniv Tzanany.
Search This Blog
Thursday, February 23, 2017
Wednesday, February 22, 2017
Thursday, February 16, 2017
visual studio - Attaching the debugger to a process C++
In case you need to attached debugger into your debug program.
the next easy trick - will do it for you - if you will start your program with F1.
without F1 - it will not wait for a debugger
very helpful !!
#ifdef _DEBUG
if ( ::GetAsyncKeyState( VK_F1 ) )
{
while ( !::IsDebuggerPresent() )
::Sleep( 100 );
::DebugBreak();
}
#endif
Subscribe to:
Posts (Atom)