Click to open or copy the DEB project files.
The DEB sample demonstrates the Win32 debug functions. This sample is a simple debugger that can debug both a process that it starts or a currently running process.
DEB is not a debugger in the traditional sense; it is a browser, as its name implies. DEB displays the debug events, and their relevant properties, as they occur and invokes the default handlers supplied either by the debuggee or the system. Only minimal debug event handling is imposed, so that the debug events are displayed and the debuggee continues on its normal course of execution.
The sample is source-code compatible for the Intel 80x86, the MIPS R4x00, and the DEC Alpha AXP Windows NT platforms.
This sample uses the following keywords:
aboutdlgproc; allocdllnode; allocprocessnode; allocthreadnode; attachdlgproc; attachtodebuggee; beginpaint; callwindowproc; charnext; check_pointer; checkmenuitem; choosecolor; choosefont; choosefonthookproc; choosenewbackcolor; choosenewfont; closeclipboard; closehandle; continuedebugevent; copylistboxtoclipboard; createbrushindirect; createdlllist; createfontindirect; createiconwindow; createlist; createnode; createpen; createprocess; createprocesslist; createtextbuttonbar; createthread; createthreadlist; createwindow; debugactiveprocess; debugeventthread; debugnewprocess; defined; defwindowproc; deletecurrentdllnode; deletecurrentnode; deletecurrentprocessnode; deletecurrentthreadnode; deletedllnode; deleteobject; deleteprocessnode; deletethreadnode; destroydlllist; destroydllnode; destroylist; destroynode; destroyprocesslist; destroyprocessnode; destroythreadlist; destroythreadnode; destroywindow; dialogbox; dispatchmessage; dllmain; dllorderfunction; emptyclipboard; enddialog; endpaint; enumprocesslistfunc; enumwindows; errormessagebox; exitprocess; exitthread; formatmessage; free; freedllnodeinfo; freeprocessnodeinfo; freethreadnodeinfo; getclientrect; getcurrentnode; getcurrentprocessid; getdc; getdebuggeefilename; getdesktopwindow; getdlgitem; getdllfilename; getdllfilenamefromlist; getfiletype; getfirstnode; getfocus; getlasterror; getlastnode; getlisterror; getmenu; getmessage; getmodulefilename; getmodulefilenamefromheader; getmodulehandle; getnextnode; getopenfilename; getoutputdebugstring; getpathfromfullpathname; getprevnode; getprivateprofileint; getprivateprofilesettings; getprivateprofilestring; getstockobject; getsyscolor; getsysteminfo; gettextextentpoint; gettextmetrics; getthreadcontext; getwindowlong; getwindowrect; getwindowtext; getwindowthreadprocessid; globalalloc; globalfree; globallock; globalunlock; handlebreakpointexception; handlecreateprocessevent; handlecreatethreadevent; handleexceptionevent; handleexitprocessevent; handleexitthreadevent; handleloaddllevent; handleoutputdebugstringevent; handleripevent; handleunknownevent; handleunloaddllevent; heapalloc; heapcreate; heapdestroy; heapfree; initdllnodeinfo; initprocessnodeinfo; initthreadnodeinfo; insertdllnode; insertnode; insertprocessnode; insertthreadnode; invalidaterect; isdbcsleadbyte; killtimer; lineto; listboxinsert; listboxprintf; loadaccelerators; loadcursor; loadicon; loadstring; localalloc; localfree; locallock; lstrcat; lstrcpy; lstrlen; mainwndproc; makecommondebugeventstring; makelong; malloc; max; maxdebuggeesmessagebox; messagebox; movetoex; movewindow; newlistboxwndproc; offsetof; openclipboard; outofmemorymessagebox; postmessage; postquitmessage; preferencesdlgproc; processcommandswndproc; processorderfunction; readfile; readprocessmemory; registerclass; releasedc; rgb; selectobject; sendmessage; sendwmsizemessage; setbkcolor; setclipboarddata; setcurrentdllnode; setcurrentnode; setcurrentnodeex; setcurrentprocessnode; setcurrentthreadnode; setdebugerrorlevel; setfilepointer; setfocus; settextcolor; setthreadcontext; settimer; setwindowlong; setwindowpos; showwindow; skipbreakpoint; sleep; startdebuggee; stringappendf; stringprintf; subclasswindow; switch; text; textbuttonbar; textbuttonbarproc; threadorderfunction; timerproc; translateaccelerator; translatemessage; unreferenced_parameter; updatemenusettings; updatewindow; va_end; va_start; virtualalloc; virtualfree; waitfordebugevent; winhelp; winmain; writeprivateprofileint; writeprivateprofilesettings; writeprivateprofilestring; wsprintf; wvsprintf