11-13-2023, 09:11 AM
I am running this on GVSoC emulation platform. I am using Visual Studio Code as editor.
The code is OK, I applied some modification to the code of the 'task.c'. Now I want to check if there is some inconsistency by debugging the code when there is a context switch between two tasks. In the personalized 'main_blinky.c' I simply created two threads which run alternatively in an infinite loop ( as I said I want to check that the code inserted in the context switch works properly ). My question is how can I debug (using gdb for example) it by running the code with GVSoC ?
I hope now it is more clear.
The code is OK, I applied some modification to the code of the 'task.c'. Now I want to check if there is some inconsistency by debugging the code when there is a context switch between two tasks. In the personalized 'main_blinky.c' I simply created two threads which run alternatively in an infinite loop ( as I said I want to check that the code inserted in the context switch works properly ). My question is how can I debug (using gdb for example) it by running the code with GVSoC ?
I hope now it is more clear.