EWSTM8 Series Tutorial 05_Menu Overview (II)

Publisher:声慢慢Latest update time:2021-03-02 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1Written in front

In the previous article [EWSTM8 Series Tutorial 04_Menu Overview (I)], the contents of the four important menus, File, Edit, View, and Project, were outlined.

picture


This article describes the contents of the five menus following Debug, ST-Link download debugging tool, Tools, Window, and Help.


The "Debug" menu is only available in debug mode (not in edit mode). "Download debug tool" is determined by your project target configuration (the screenshot above is for ST-Link configuration).


This article mainly summarizes the contents of the last five menus:

1.Debug menu

2. Download the debugging tool menu

3. Tools menu

4. Window menu

5.Help menu


In order to make it convenient for everyone to view the tutorial anytime and anywhere on their mobile phones while taking the bus, subway, or going out to do business, this article is included in the [EWSTM8 Series Tutorial]. You can view it by replying [EWSTM8 Series Tutorial] on the WeChat public account.


2

Debug menu

The Debug menu will only be displayed in debug mode. Most of the commonly used submenus will be displayed in the [Debug Toolbar]. Please refer to the "3.2 Debug Toolbar" section in the article [ EWSTM8 Series Tutorial 03_Overview of the Main Window and Toolbar ].

1.Go: Run at full speed F5

2.Break: Stop running

3.Reset: Reset

4.Stop Debugging: Stop debugging Ctrl + Shift + D

5.Step Over: Run line by line F10

6.Step Into: Jump into operation F11

7.Step Out: Jump out of running Shift + F11

8.Next Statement: Run to the next statement

9.Run to Cursor: Run to the cursor line

10.AutoSetp: Automatically run in steps

11.Set Next Statement: Set the next statement

12.C++ Exceptions: C++ Exceptions

13.Memory: Memory save/reset

14.Refresh: Debug update

15.Logging: Debug log


The first 10 submenus of the Debug menu are more commonly used and more important. Here are some textual explanations of the meanings of several of them, and the contents of these submenus will be described in detail later in the tutorial.


The three submenus of Step Over, Step Into, and Step Out all have the meaning of "step by step/single step" debugging. Step Into will enter the function execution when encountering a function, while Step Over will not enter the function. Step Out will jump out of the current function.


Run to Cursor: In the tentative state, place the cursor on a certain line of the program, and execute this operation. The program will stop when it reaches the line you are on (of course, if the program will never execute that line, the program will continue to execute until you perform other operations).


AutoSetp automatically runs in steps: You can set it to run automatically in the specified mode (Step Over, Step Into) and interval time.


3

Download Debug Tools Menu

The content of this menu will change with the download debugger configured in your project, and the submenu content of different download debuggers is also different, as shown below:

You can see that the submenu contents in the two types of menus (ST-Link and Simulator) in my screenshot above are different.

The contents of this menu are used less frequently, and currently ST-Link is mainly used for downloading and debugging. The following is an overview of the contents of each submenu under ST-Link.

1.Leave Target Running: Offline running (leave target running)

2. Disable Interrupts When Stepping: Disable interrupts when single-step debugging

3. Option bytes: Option bytes

4.Data Sample Setup: Data sampling setup

5.Data Sample: Data Sample

6. Sampled Graphs: Sampled Graphs

7.Breakpoint Usage: Use breakpoints


4

Tools menu

The Tools menu contains some IDE-related configurations, including fonts, shortcut keys, language, editing, messages, projects, and other configurations.

picture

1.Options: Tool configuration options

2. Filename Extension: file extension

3.Configure Viewers: Configure Viewers

4.Configure Custom Argument Variables: Configure custom parameter variables

5.Configure Tools: Configuration Tools


4.1 Options tool configuration options

The Options tool configuration option is a relatively important submenu, which contains a series of important and practical contents such as font size, color, shortcut keys, project output information, etc.

This article focuses on an overview of the menu contents, which will be described in detail later in this series of tutorials.

picture


5

Window Menu

The Window menu needs to have similarities with the View menu (like opening/closing toolbars, which was done in the View menu in previous IAR versions), but they need to be distinguished.


The Window menu is a menu for operating the IDE windows and changing their arrangement on the screen.

1.Close Document: Close the currently active document editing window Ctrl + F4

2.Close Window: Close the currently active IDE window (project, reference, browse, etc.)

3.Split: Split window

4.Move Tab to New Vertical Editor Window: Move the tab to the new vertical editor window

5.Move Tab to New Horizontal Editor Window: Move the tab to the new horizontal editor window

6.Move Tab to the Next Window: Move the tab to the next/next window

7.Move Tab to the Previous Window: Move the tab to the previous window

8.Close All Tabs Except Active: Close all tabs except the active one

9.Close All Tabs to the Right of Active: Close all tabs on the right of the activity

10.Close All Editor Tabs: Close all editor tabs

11. Toolbars

12. Status bar: Status bar


5.1 Split Window

Split window is to split a window into four windows, top, bottom, left, and right. The size of each window can be freely allocated, as shown below:


5.2 Move tab to

Move Tab to New Vertical Editor Window is similar to Move Tab to New Horizontal Editor Window, one is vertical and the other is horizontal. The following figure shows the vertical effect:


5.3 Toolbar and Status Bar

The contents of these two submenus were placed under the View menu in previous IAR versions. Their functions are similar to those of the View menu, which can be turned on or off.


Note: The toolbar menu only has the Main toolbar in edit mode, and the Debug toolbar will be added in debug mode, as shown below:


6

Help Menu

The content in this menu is quite practical. If we understand it literally as "help", most of the content I wrote is based on reference here. In fact, the important thing is the help document.

picture


6.1 Help Articles

Content, Index, and Search correspond to the contents in the help document, as follows:

picture


6.2 Guide

As shown in the submenu above, the parts framed in red belong to the IDE's guide, including version history information, management, reference information, etc.


6.3 Others

IAR on the Web: IAR website

Information Center: Information Center

License Manager: License management, this is where you enter when registering

About: About the software version information


Reference address:EWSTM8 Series Tutorial 05_Menu Overview (II)

Previous article:EWSTM8 Series Tutorial 04_Menu Overview (I)
Next article:EWSTM8 Series Tutorial 06_Project Node Option Configuration (I)

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号