flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
decard
AFAIR JohnFound had similar problems when he was implementing a debugger in Fresh. I'm not sure, but what I can realise when I look at Fresh sources, is that there is a new thread created ("debug server"), and it waits for debug events. When debugee is terminated, "debug server" is so. Then, when you wan't to load another module, just create new "debug server" thread.
I would recommend to take a look at Fresh source. |
|||
![]() |
|
vbVeryBeginner
em, i just found out from a VB site :p
i should terminate it using such approach : Code: _300_debug_exit: invoke ContinueDebugEvent,[dbgEvent.dwProcessId],[dbgEvent.dwThreadId],DBG_TERMINATE_THREAD invoke ContinueDebugEvent,[dbgEvent.dwProcessId],[dbgEvent.dwThreadId],DBG_TERMINATE_PROCESS invoke CloseHandle,[proInfo.hProcess] invoke CloseHandle,[proInfo.hThread] jmp wmBYE sincerely, sulaiman chang ps: i will take a look at fresh source ![]() |
|||
![]() |
|
vbVeryBeginner
but this produce some kinda weird scene, it would like the debugee will eat up the debugger window (when u move the debugee window around the debugger)
or mess with the debugger PAINT event? i don't know, i have succeed not to make the debuggee eat up those debugger window (a few minutes before)... em.. but i change my code already ![]() the mess debuggggggggeeeeeeerr! the tutorial 19 is debugee and the messy dialog is debugger ![]() |
|||
![]() |
|
vbVeryBeginner
em..., i got another guesss.
i guess the debugee halted the debugger looping message, so until the debugger jmp into _300_debug_exit and jmp wmBYE, or the WM_PAINT would be ignore by the debugger :-: |
|||
![]() |
|
vbVeryBeginner
em, this is solve as i implement it using a thread
![]() the result could be view here http://board.flatassembler.net/topic.php?p=16587#16587 sincerely, sulaiman chang |
|||
![]() |
|
i-don
Sulaiman,
I try to compile your tut_28.asm and found the following line failed on compile due to SS_PATHELLIPSIS not defined. Code: dialogitem 'STATIC','',100,27,7,206,11,SS_RIGHT + SS_SUNKEN + SS_PATHELLIPSIS + WS_VISIBLE Whar is the value of SS_PATHELLIPSIS? Btw, I just comment out SS_PATHELLIPSIS from the line and compile it without a problem. Nice tutorial conversion. Keep up the good works. i-don. |
|||
![]() |
|
decard
SS_PATHELLIPSIS = 000008000h
|
|||
![]() |
|
i-don
Thanks Decard, cheers.
![]() |
|||
![]() |
|
vbVeryBeginner
Quote:
thanks you ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.