How can I set breakpoint on a call to API function, like MessageBoxA?
– This is very simple now. Either open command line (Alt+F1) and type “BPX MessageBoxA”, or search for all itermodular calls in Disassembler, click on any call to MessageBoxA and set breakpoint on every call to this function. If you are a happy owner of Windows NT, 2000 or XP, you can set breakpoint directly on the API function in system DLL. Name window contains special menu item “breakpoint on import”. In many cases, logging breakpoint that writes call arguments to the log file is a good alternative to ordinary break.
Related Questions
- Using the CCscripting BreakpointSetLine() API puts the breakpoint in the Breakpoint table but doesn show the file or source line. Why?
- What the difference between FindFirstFile Win32 API function and Dir Visual Basic function?
- Does the .NET Framework include an equivalent for [Insert Win32 API function here]?