Auto Step Automatic execution
It can repeat the instructions. If the current mode is source (i.e. C language window display mode), one instruction will be executed. If the disassembly mode is processed (i.e. display as assembly instruction mode), one assembly instruction will be executed. After each instruction is executed, all the information in the window will be updated. The
execution delay of each instruction can be selected in debug option.
When the user presses stop or there is a breakpoint, the automatic execution will stop.
Step Into Single-step execution:
only one instruction is executed. If the current mode is source (i.e. C language window display mode), one instruction will be executed. If the disassembly mode is processed (i.e. display as assembly instruction mode), one assembly instruction will be executed.
After each instruction is executed, all the information in the window will be updated.
Step Over
Only one instruction is executed. If this instruction contains or calls a function or subroutine, this function or subroutine will also be executed. If there is a breakpoint, the execution will stop. After the execution is completed, the information will be displayed in the window.
Step Out
Step Out will execute until the current program ends. If there is a breakpoint, the execution will stop. When the step out action is executed at the beginning of the program, the program will execute until the end, unless there is a breakpoint or the user manually interrupts it.
After the run is completed, all the information will be displayed in the window.
Run to Cursor Execute to the cursor position
Execute to the position where the cursor is placed in the source window (i.e., the C language window). Even if there is a breakpoint, it will not be interrupted. If the position where the cursor is located cannot be executed, the program will continue to execute until the user manually interrupts it. After the execution is completed, all the information will be
displayed in the window. Because this method depends on the position of the cursor, it can only be used in the source, i.e., C language window mode.
--------------------------------------------------------------------------------
QuickWatch: When the program is simulated, the values of some ports or variables are immediately displayed.
Operation method: For example, we want to see the value of i in operation. Select i in the C source code, a pop-up menu will pop up, select: Add to Watch: i (or you can select i and press the quickwatch button marked with a red box in the figure below).
Use a similar method to add PORTB to watch... Execute AutoStep or Step Into to display the values of these two variables while the program is running!
Previous article:Learning AVR (10) Reset and interrupt handling
Next article:Study AVR (VI) CPU Status Register
Recommended ReadingLatest update time:2024-11-23 08:13
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- Default settings for the pads of Altium Designer's PCB
- Research on the mechanical device of automobile fuel gauge and sensor test and detection system
- 【XMC4800 Relax EtherCAT Kit Review】+ FreeRTOS real-time system usage
- 【Silicon Labs BG22-EK4108A Bluetooth Development Evaluation】+ Development Environment Construction
- MSP430F5529 built-in functions and some instructions
- ADI Continuous Non-Invasive Blood Pressure Solutions
- Do you know how to save power in RTOS applications?
- The problem of lower yield strength
- Smart MM32 eMiniBoard Review Summary
- Infineon Tmall flagship store offers huge discounts Part 1 - Limited cashback on a first-come, first-served basis, Double 11 special promotion!