Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Plot function at Adruino IOT jlink debug (Read 1338 times)
Make28357
Newbies
*
Offline


Posts: 1
Joined: Jul 26th, 2022
Plot function at Adruino IOT jlink debug
Jul 26th, 2022 at 12:52pm
Print Post  
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
  

Please Register or Login to the Forum to see File Attachments
Back to top
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Plot function at Adruino IOT jlink debug
Reply #1 - Jul 26th, 2022 at 1:13pm
Print Post  
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.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint