- No category
advertisement
10 C/C++ Expressions
11. Display the Cause of the Program Stoppage
If the program is stoped by the debug function, the cause of the stoppage is displayed in the Output window or Status window ([Platform] sheet).
The contents of a display and the meaning of "the cause of the stoppage" are as follows.
Display The cause of the stoppage
Halt
S/W break
Address match interrupt break
H/W event, Combination
H/W event, Combination, Ax
The stop by the [Halt Program] button/menu
Software break
Address interrupt break
Hardware break, logical combination AND or AND(same time)condition was met
Hardware break, logical combination OR condition was met
(Ax: The event number of which condition was met.)
H/W event, State transition, from xx Hardware break, State Transition condition was met
(from xx: previous state (start, state1, state2))
H/W event, State transition, Timeout Hardware break, State Transition, Time Out condition was met
H/W event, Access protect error Protect break
Note
To be able to show the cause of break or not depends on the connected target. Some targets may always show "Halt" or show "---".
151
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 13 Features
- 13 Real-Time RAM Monitor Function
- 13 Break Functions
- 13 Real-Time Trace Function
- 14 GUI Input/Output Function
- 15 About RAM Monitor Function
- 15 RAM Monitor Area
- 15 Sampling Period
- 16 Related Windows
- 17 About Software Breaks Function
- 17 Setting of software breakpoint
- 17 Area where software breakpoint can be set
- 18 About Hardware Breaks Function
- 19 About Address Interrupt Breaks Function
- 19 Setting and Deleting a Break Points
- 20 About Real-time Trace Function
- 20 Trace Area
- 21 Trace Condition Setting
- 21 Trace Data Write Condition
- 22 About the Compact Emulator
- 22 Communication method
- 22 Function table
- 23 Starting/Setup of Debugger
- 23 Communication method by emulator
- 23 USB Interface
- 24 Download of Firmware
- 25 Setting before emulator starts
- 25 USB communication with the Emulator
- 26 Install of USB device driver
- 27 Preparation before Use
- 27 Preparation before Use
- 27 Workspaces, Projects, and Files
- 28 Starting the High-performance Embedded Workshop
- 28 Method for Activating High-performance Embedded Workshop
- 29 Creating a New Workspace (Toolchain Used)
- 29 Step1 : Creation of a new workspace
- 30 Step2 : Setting for the Toolchain
- 31 Step 3: Selecting of the Target Platform
- 32 Step4 : Setting the Configuration File Name
- 33 Step5 : The check of a created file name
- 34 Creating a New Workspace (Toolchain Not Used)
- 34 Step1 : Creation of a new workspace
- 35 Step 2: Selecting of the Target Platform
- 36 Step3 : Setting the Configuration File Name
- 37 Step4 : Registering the Load modules to be downloaded
- 38 Starting the Debugger
- 38 Connecting the Emulator
- 38 Ending the Emulator
- 39 Setup the Debugger
- 39 Setup the Debugger for M16C/R8C
- 39 Init Dialog
- 39 MCU Setting Dialog
- 40 Init Dialog
- 41 MCU Tab
- 41 Specifying the MCU file
- 41 Setting of the Communication Interface
- 42 Executing Self-Check
- 42 Using/unusing the address interrupt break function
- 42 Choosing to use or not to use CPU rewrite mode
- 43 Choosing to use or not to use the trace point setting functi
- 44 Setting of the USB Interface
- 44 Setting of the USB Interface
- 45 Debugging Information Tab
- 45 display the compiler used and its object format
- 45 Specify the Storing of Debugging Information
- 46 Emulator Tab
- 46 Specify the Target Clock
- 47 Script Tab
- 47 Automatically Execute the Script Commands
- 48 MCU Setting Dialog (the M16C/R8C Debugger)
- 49 MCU Tab
- 49 Select the Processor Mode
- 50 Inspecting the MCU status
- 51 Flash Clear Tab
- 51 Setting to clear the MCU's internal flash ROM
- 55 Tutorial
- 55 Introduction
- 55 Usage
- 56 Step1 : Starting the Debugger
- 56 Preparation before Use
- 56 Setup the Debugger
- 56 Step2 : Checking the Operation of RAM
- 56 Checking the Operation of RAM
- 57 Step3 : Downloading the Tutorial Program
- 57 Downloading the Tutorial Program
- 58 Displaying the Source Program
- 59 Step4 : Setting a Breakpoint
- 59 Setting a Software Breakpoint
- 60 Step5 : Executing the Program
- 60 Resetting of CPU
- 60 Executing the Program
- 61 Reviewing Cause of the Break
- 62 Step6 : Reviewing Breakpoints
- 62 Reviewing Breakpoints
- 63 Step7 : Viewing Register
- 63 Viewing Register
- 63 Setting the Register Value
- 64 Step8 : Viewing Memory
- 64 Viewing Memory
- 65 Step9 : Watching Variables
- 65 Watching Variables
- 66 Registering Variable
- 67 Step10 : Stepping Through a Program
- 67 Executing [Step In] Command
- 68 Executing [Step Out] Command
- 69 Executing [Step Over] Command
- 70 Step11 : Forced Breaking of Program Executions
- 70 Forced Breaking of Program Executions
- 71 Step12 : Displaying Local Variables
- 71 Displaying Local Variables
- 72 Step13 : Stack Trace Function
- 72 Reference the function call status
- 73 What Next?
- 77 Windows
- 78 RAM Monitor Window
- 80 Extended Menus
- 81 Setting the RAM monitor area
- 82 Changing the RAM Monitor Area
- 82 Adding RAM Monitor Areas
- 82 Deleting RAM Monitor Areas
- 83 ASM Watch Window
- 84 Extended Menus
- 85 C Watch Window
- 86 Extended Menus
- 87 Script Window
- 88 Extended Menus
- 89 S/W Break Point Setting Window
- 90 Command Button
- 91 Setting and Deleting a Break Points from Editor(Source) Wind
- 91 Setting and Deleting a Break Point from Editor(Source) Windo
- 92 H/W Break Point Setting Window
- 93 Specify the Break Event
- 96 Specify the Combinatorial Condition
- 96 Command Button
- 97 Specify the Events (Instruction Fetch)
- 97 Instruction Fetch of Specified Address
- 98 Instruction Fetch of Specified Address Area(In)
- 99 Instruction Fetch of Specified Address Area(Out)
- 100 Entering/exiting to specified function
- 102 Specify the Events (Memory Access)
- 103 Memory Access(The debugger for M16C/R8C)
- 103 Writing/Reading a Specified Address
- 112 Reading/writing data to the specified address range
- 113 Reading/writing data to addresses outside the specified rang
- 114 Specify the Events (Bit Access)
- 114 Writing/Reading a Specified Bit
- 115 Writing/Reading a Specified Bit Symbol
- 116 Specify the Event Combination Condition
- 116 Select AND, OR
- 117 Select AND(Same Time)
- 118 Address Interrupt Break Point Setting Window
- 119 Command Button
- 120 Setting and Deleting a Break Points from Editor(Source) Wind
- 120 Setting and Deleting a Break Point from Editor(Source) Windo
- 121 Trace Point Setting Window
- 122 Specify the Trace Event
- 125 Specify the Combinatorial Condition
- 126 Specify the Trace Range
- 127 Specify the Trace Write Condition
- 128 Command Button
- 129 Specify the write condition
- 133 Trace Window
- 134 Configuration of Bus Mode
- 135 Configuration of Disassemble Mode
- 136 Configuration of Data Access Mode
- 137 Configuration of Source Mode
- 138 Extended Menus
- 139 Display of bus information on the M16C/R8C Debugger
- 140 GUI I/O Window
- 141 Extended Menus
- 142 Table of Script Commands
- 142 Table of Script Commands
- 142 Execution Commands
- 142 File Operation Commands
- 142 Register Operation Commands
- 143 Memory Operation Commands
- 143 Assemble/Disassemble Commands
- 143 Software Break Setting Commands
- 143 Address Interrupt Break Setting Commands
- 144 Hardware Break Setting Commands
- 144 Real-time Trace Commands
- 144 Script/Log File Commands
- 144 Program Display Commands
- 145 Clock Command
- 145 C Language Debugging Commands
- 145 Real-time OS Command
- 145 Utility Commands
- 146 Table of Script Commands (alphabetical order)
- 148 Writing Script Files
- 148 Structural Elements of a Script File
- 150 Writing Expressions
- 154 C/C++ Expressions
- 154 Writing C/C++ Expressions
- 157 Display Format of C/C++ Expressions
- 161 Display the Cause of the Program Stoppage
- 162 Attention
- 162 Common Attention
- 162 File operation on Windows
- 162 Area where software breakpoint can be set
- 163 Get or set C variables
- 163 Function name in C++
- 163 Debugging multi modules
- 163 Syncronized debugging
- 163 Compact Emulator reset switch
- 164 Attention of the M16C/R8C Debugger
- 164 Map of stack area used by the compact emulator
- 164 Interrupt stack pointer when resetting the target program
- 164 Options for compiler, assembler, and linker
- 164 TASKING C Compiler
- 165 Target MCU HOLD terminal
- 165 Hardware break function
- 165 Hardware Event
- 166 Options for compiler, assembler, and linker
- 166 When Using NCxx
- 166 When Using the IAR C Compiler (EW)
- 167 When Using the IAR C Compiler (ICC)
- 167 Specify the Option
- 167 Command Execution Examples
- 168 When Using the TASKING C Compiler (EDE)
- 168 When Using the TASKING C Compiler (CM)
- 168 Specify the Option
- 168 Command Execution Examples
- 169 When Using the IAR EC++ Compiler (EW)