Type a C++ program in Turbo C++ editor.WH.performance.mark('step1_rendered');
Type a C++ program in Turbo C++ editor.
To add a breakpoint, follow these sub-steps:Place the cursor at start of code where breakpoint needs to be placedGo to Debug->Toggle Breakpoint. (Shortcut: Ctrl + F8).A red highlight appears over the code.
To add a breakpoint, follow these sub-steps:
Run the program. Use Run -> Run (Ctrl+F9).The program run breaks where you have inserted breakpoint with a blue highlight.
Run the program.
Press F8 (Step Over)/F7 (Trace Into).
Press F8 (Step Over)/F7 (Trace Into).
Add watches (Shortcut:Ctrl+F7) to the print value of any variable during execution.
Add watches (Shortcut:Ctrl+F7) to the print value of any variable during execution.
Done. This way you can easily debug through the code. Happy debugging!
Done.
Leave a Comment