VS Arduino
Visual Micro >> General Board >> Plot function at Adruino IOT jlink debug
https://www.visualmicro.com/forums/YaBB.pl?num=1658839920

Message started by Make28357 on Jul 26th, 2022 at 12:52pm

Title: Plot function at Adruino IOT jlink debug
Post by Make28357 on Jul 26th, 2022 at 12:52pm
Running a simple Blink with a counter.
In debugging with jlink and without serial interface the value of the counter i will be displayed in the output window.
With the try of the @Plot function

see attached Screenshot

a failure message appears in the output window:
„Breakpoint 2, loop () at C:\Users\user\source\repos\Nano_IOT_Blink/Nano_IOT_Blink.ino:16
16        if (i >= 1000) {
-var-create: unable to create variable object“

What is missing?


Arduino Nano 33 IOT / jlink / Visual Studio 2022 / Visual Micro
Screenshot_2022-07-26_142246.gif ( 57 KB | 4 Downloads )

Title: Re: Plot function at Adruino IOT jlink debug
Post by Simon@Visual Micro on Jul 26th, 2022 at 1:13pm
Thanks for the report.

The @Plot functionality is only currently available in the Serial Debugger, and the video on the below page also shows how to get this setup:
https://www.visualmicro.com/page/User-Guide.aspx?doc=Multiplot.html

This is not currently compatible with any of the Hardware Debugging options such as JLink or GDBStub.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.