3GL   4GL   5GL  

Step Into, Step Over Step Out

  1. WDBG
  2. , ?
  3. WDBG: ?
  4. .

, , , Step Into, Step Over Step Out. WDBG, . 1 , .

(Step Into, Step Over Step Out) , , , , , . Debug Break (. ) , .

Step Into -, , : . , . CPU , .

, . Step Into, . , , . , , . , one-shot. , . , ( ) . , Step Into , CPU .

Step Over Step Into , dsgjkyznm . , Step Over ( ) one-shot, .

Step Out, , . Step Out, , one-shot.

 Source view ( ) disassembly view ( Disassembly). .

Step Into, Step Over Step Out , , . , ( , ) one-shot , ? , . one-shot ( ). one-shot, , . Visual C++ .

 

WDBG

WDBG. , , . Visual C++ Output . WDBG , Visual C++. .

LOAD_DLL_DEBUG_INFO ( LOAD_DLL_DEBUG_EVENT) ipimageName, , , . , Win32 .

typedef struct _LOAD_DLL_DEBUG_INFO

 {

HANDLE hFile;

LPVOID IpBaseOfDll;

DWORD dwDebuglnfoFileOffset;

DWORD nDebuglnfoSize;

LPVOID IpimageName;

WORD fUnicode;

 } LOAD_DLL_DEBUG_INFO;

LOAD_DLL_DEBUG_EVENT, , DBGHELP.DLL, , ( ) . API- SymGetModuieinfo ( ) IMAGEHLP_MODULE,   (. ModuleName[32]).

  , -, : ( DBG-).

typedef struct _IMAGEHLP_MODULE {

DWORD SizeOfStruct;

DWORD BaseOfImage;

DWORD ImageSize;

DWORD TimeDateStamp;

DWORD Checksum;

DWORD NumSyms;

SYM_TYPE SymType;

CHAR ModuleName[32];

CHAR ImageName[256] ;

CHAR LoadedlmageName[256]; 

} IMAGEHLP_MODULE, *PIMAGEHLP_MODULE;

: SymGetModuieinfo , DBG-, (. . ). , . LOAD_DLL_DEBUG_INFO, ( hFile) , SymLoadModuie (hFile). DBGHELP.DLL , , hFile, . .

. , , . , , . - DLL-, . - , () .

, - API-, ( ) . , , , , . Tool Help PSAPI.DLL, , . Tool Help Windows 98 , Windows NT 4 PSAPI.DLL, Windows 2000 Tool Help . Tool Help , CreateRemoteThread. WDBG, Tool Help , . PSAPI.DLL Windows 2000 Tool Help, Windows NT 4.

, 1, , . GetModuleFilenameEx PSAPI.DLL , , . LOAD_DLL_DEBUG_EVENT , DLL , DLL . DLL, GetModuleFilenameEx PSAPI.DLL . , , , .

, , . , , , , NTDLL.DLL . , , . , . pulseModuieNotification , ; ( ) MODULENOTIFICATION.CPP -. DebugThread DEBUGTHREAD.CPP -, , PulseModuieNotification , , (-) WaitForDebugEvent.

Windows 98?

- (step into) Windows 98, , . , Windows 2000 . , Windows 2000 "--" , Windows 98 2 .

, "--" , () . Windows 98 2 . Windows 98 "--" , Windows 98 , , , . , , , . DLL, 32. DLL, 2 , DLL, KERNEL32.DLL USER32.DLL, 2 . , , Windows 98, .

 

, ?

, . , , . . . , , , , , . WDBG , , , , .

, WDBG, ( " "). , , .

CPU, . - PECOFF.DOC, - Microsoft. CPU Intel CPU, www.intel.com.

, , , . CPU, , . WDBG "--" (read-only). , , , . . , , .

Intel. , , . . , , , .

, DBGHELP.DLL , . PDB-, , Microsoft - PDB-.

 

WDBG: ?

WDBG , . . WDBG. WDBG, . , !, ( , , ). - WDBG, !

. , . Win32 Debugging API ( API 32- Windows) , , , . ( Visual C++). , WDBG, .

, , WDBG, , , . , Win32, , (public) , . , , Visual C++ WinDBG.

        3GL   4GL   5GL  

, , Component diagram - - , . , .




 10.11.2021 - 12:37: - Personalias -> WHO IS WHO - - _.
10.11.2021 - 12:36: - Conscience -> . ? - _.
10.11.2021 - 12:36: , , - Upbringing, Inlightening, Education -> ... - _.
10.11.2021 - 12:35: - Ecology -> - _.
10.11.2021 - 12:34: , - War, Politics and Science -> - _.
10.11.2021 - 12:34: , - War, Politics and Science -> . - _.
10.11.2021 - 12:34: , , - Upbringing, Inlightening, Education -> , - _.
10.11.2021 - 09:18: - New Technologies -> , 5G- - _.
10.11.2021 - 09:18: - Ecology -> - _.
10.11.2021 - 09:16: - Ecology -> - _.
10.11.2021 - 09:15: , , - Upbringing, Inlightening, Education -> - _.
10.11.2021 - 09:13: , , - Upbringing, Inlightening, Education -> - _.
Bourabai Research -  XXI Bourabai Research Institution