cancel
Showing results for 
Search instead for 
Did you mean: 

An online debugger for stm8s MCUs

Arman Ilmak
Senior

Hey guys.I need to watch my variables online.On stm32 there was stm studio which I could watch them.

I use IAR as my compiler but for watching a variable I have to pause the debugger to see its value.

Whats your offer?

3 REPLIES 3
nestor
Associate II

IAR: view>live watch

-- Nestor

Philipp Krause
Senior II

When using SDCC, GDB and OpenOCD, the following approach from STM32 should work:

https://mcuoneclipse.com/2015/07/14/automatic-variable-expression-and-memory-display-with-gdb-and-eclipse/

The STM-STUDIO-STM8 is the solution. (https://www.st.com/en/development-tools/stm-studio-stm8.html)

I use it normally and with great satisfaction.

The only limitation is that in your application, you cannot use the HALT or ACTIVE-HALT commands, but only WFE