flat assembler
Message board for the users of flat assembler.
Index
> Windows > cbthook failed when i click debugview 4.76 (latest) |
Author |
|
sleepsleep 22 Mar 2009, 06:57
like subject.
i downloaded the latest debugview 4.76 http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx using the latest fasm 1.67.36 in the latest windows 7 build 7057 (i tried in windows xp sp2 too) it hangs when i click debug view. weird.... cbthook.asm myapp.asm nothing magic here, but why it hangs the debugview is beyond me.
Last edited by sleepsleep on 22 Mar 2009, 16:02; edited 1 time in total |
|||||||||||||||||||||
22 Mar 2009, 06:57 |
|
comrade 22 Mar 2009, 22:32
OutputDebugString ("the producer") works by synchronizing with "the consumer" (DebugView, any other debugger) as described here:
http://unixwiz.net/techtips/outputdebugstring.html I've looked over your sources and the only fishy thing you are doing is calling OutputDebugString under the loader lock (because you are in DLL main). That shouldn't be a problem though. Can you clarify, what exactly hangs? DebugView or your application? |
|||
22 Mar 2009, 22:32 |
|
sleepsleep 23 Mar 2009, 04:30
hi there comrade,
thanks for the time you took to look at my source. i think i figure out whats the problem. it seems that i shouldn't use the debugview on the same machine that i run cbthook. eg, after i start debugview, then i start my cbthook program, then i activate the debugview window (sort of deadlock i think) coz, my program will hook on the debugview and i use debugview to ODString... (i guess) well, after i use a debugview remotely, hanging problem doesn't appear and all attach stuff detach gracefully. |
|||
23 Mar 2009, 04:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.