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 [2]  Send TopicPrint
Hot Topic (More than 8 Replies) Can't start JTAG debugging session with Teknic ClearCore (Read 6046 times)
Richard T
Junior Member
**
Offline


Posts: 15
Joined: Jan 31st, 2023
Re: Can't start JTAG debugging session with Teknic ClearCore
Reply #20 - Feb 1st, 2023 at 2:39pm
Print Post  
I started with a breakpoint in the Arduino program loop(), called from the top level loop in main.cpp, but to no avail. I've also tried setting a breakpoint in the top level loop in main.ccp, but once again, no joy. HScreen shot attached.
  

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


Posts: 2441
Joined: Feb 13th, 2019
Re: Can't start JTAG debugging session with Teknic ClearCore
Reply #21 - Feb 1st, 2023 at 2:42pm
Print Post  
Can you set the breakpoint inside of the loop() function in your INO file?

The file you have set it in may be heavily optimised as it is in the core, unless the "vMicro > Debugger > Optimzation: None" is set.
  
Back to top
IP Logged
 
Richard T
Junior Member
**
Offline


Posts: 15
Joined: Jan 31st, 2023
Re: Can't start JTAG debugging session with Teknic ClearCore
Reply #22 - Feb 1st, 2023 at 2:51pm
Print Post  
Thanks - I tried that, but didn't work.

Looks like this is a no go and I'll have to give up on gdb debugging for now - a little disappointing, but thanks for your help. Smiley
  
Back to top
 
IP Logged
 
Richard T
Junior Member
**
Offline


Posts: 15
Joined: Jan 31st, 2023
Re: Can't start JTAG debugging session with Teknic ClearCore
Reply #23 - Feb 1st, 2023 at 3:07pm
Print Post  
I've just started to play with VM serial debugging - looks like it may be a great help over simple printf statements Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint