<<< Hello, World! | Index | Hello, World, step-by-step, Cont. >>> |
Open OllyDbg and load program named hello.exe to start the debugging session.
This program was compiled with Microsoft Visual C++ 2005 Version 8.0.50727.867 on a Vista box (vsvista.050727-8600)
Resize your windows to make both console output and OllyDbg visible at the same time.
Use F8 to step through the application.
Note the place where the message Hello, World! is printed on the screen. Set a breakpoint at that location.
Restart the program (Debug -> Restart, or simply press Ctrl+F2.)
Choose Debug -> Run (F9). The execution stops as soon as the breakpoint is reached.
<<< Hello, World! | Index | Hello, World, step-by-step, Cont. >>> |