Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.362

Start a Debug Session

In this topic:

Configuration steps

Perform Debug | Reset or Debug | Download.

Go to Debug | Run Control | Run.

Perform Run Control.

 

 

Introduction

In this tutorial, you will explore the most common use cases of starting a debug session, executing a reset, downloading code to your Target, and controlling its execution using Run Control commands to step through the code.

You will also look at how the winIDEA Debug Status in the lower right corner indicates the state of the debug session and the current state of the microcontroller.

 

Simplified diagram of a Debug Session

Simplified diagram of a Debug Session

 

 

Configuration steps

number1

Perform Debug | Reset or Debug | Download.

To establish an active debug session, you can:

Perform reset via Debug | Reset or click the Reset button Reset-button in the Debug Toolbar, and establish control of the device at its reset point. Within an active session, this will only reset the device.

Download the executable code and the belonging debug information to the microcontroller via Debug | Download or click the Download button Download-button  in the Debug Toolbar and establish control of the device at its reset point and programs Flash and RAM.

 

 

 

winIDEA will show             STOP             Debug Status.

 

You can observe debug session initialization details in the Progress window.

Progress-window2

 

 

number2

Go to Debug | Run Control | Run.

You can also click the Run button AnalyzerRecording-BeginNewSessionButton in the Debug Toolbar. Run starts or resumes the execution of the application which continuous until the application is:

Stopped

Breakpoint is hit

Other exception / event occurs

 

winIDEA shows              RUN              Debug Status.

 

 

number3

Perform Run Control.

Follow the Video Tutorial Breakpoint bisecting and see how stepping through the code is used in a real-life example.

See table of Run Control commands.

 

 

Number4

Go to Debug | End Session.

Once the session ends, winIDEA will disconnect from the BlueBox. The Debug Status in the bottom right corner will change           OFFLINE          .

 

 

 

Copyright © 2025 TASKING