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
Hot Topic (More than 8 Replies) Visual Micro for Atmel 6.2: Waiting for debug breakpoint data (Read 6530 times)
shwethagc
Newbies
*
Offline


Posts: 5
Joined: Mar 8th, 2016
Visual Micro for Atmel 6.2: Waiting for debug breakpoint data
Mar 8th, 2016 at 1:35pm
Print Post  
Hello:
I'm using Atmel studio 6.2 with visual micro plugin. I am trying to use breakpoints. Watch window is stuck at "waiting for debug breakpoint data". Could anyone please help
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro for Atmel 6.2: Waiting for debug breakpoint data
Reply #1 - Mar 8th, 2016 at 2:32pm
Print Post  
Hi,

Did you read the debug docs on visualmicro.com and set the breakpoint "When Hit" {expressions} ?
  
Back to top
IP Logged
 
shwethagc
Newbies
*
Offline


Posts: 5
Joined: Mar 8th, 2016
Re: Visual Micro for Atmel 6.2: Waiting for debug breakpoint data
Reply #2 - Mar 8th, 2016 at 3:19pm
Print Post  
Yes, I've added expressions at "When hit" it is working for main .ino file. I've defined some functions in C++ .h file. The break points in that functions are not working
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro for Atmel 6.2: Waiting for debug breakpoint data
Reply #3 - Mar 8th, 2016 at 3:21pm
Print Post  
Ok thanks

Does the trace show the breakpoint is being hit?
  
Back to top
IP Logged
 
shwethagc
Newbies
*
Offline


Posts: 5
Joined: Mar 8th, 2016
Re: Visual Micro for Atmel 6.2: Waiting for debug breakpoint data
Reply #4 - Mar 8th, 2016 at 3:34pm
Print Post  
no, it is not showing
  
Back to top
 
IP Logged
 
shwethagc
Newbies
*
Offline


Posts: 5
Joined: Mar 8th, 2016
Re: Visual Micro for Atmel 6.2: Waiting for debug breakpoint data
Reply #5 - Mar 8th, 2016 at 3:49pm
Print Post  
Just now I read in a thread that break points are supported in library files. is that true? if so is there any alternative way to watch the variables other than using serial.println()?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro for Atmel 6.2: Waiting for debug breakpoint data
Reply #6 - Mar 8th, 2016 at 4:56pm
Print Post  
You made two questions...

1)
The c++ is not in the project but in a library and you want to debug it. You can do this by making it a local project library. To do that you can right click the project and "add a new library". Then you will see where to place local libraries. Copy the library to the project into the same location the new library has been created then you can debug. Use the small icon above the solution explorer to "show all files" (it's easier)

2)
Yes please read docs. The breakpoint "when hit" can contain messages and/or a list of {expressions} to watch. There is also an old youtube video which shows how it's done.
« Last Edit: Mar 8th, 2016 at 4:56pm by Tim@Visual Micro »  
Back to top
IP Logged
 
shwethagc
Newbies
*
Offline


Posts: 5
Joined: Mar 8th, 2016
Re: Visual Micro for Atmel 6.2: Waiting for debug breakpoint data
Reply #7 - Mar 8th, 2016 at 7:56pm
Print Post  
my library files and .ino file are in the same location.
\examples\GettingStarted\Cntrl.h
\examples\GettingStarted\GettingStarted.ino

Cannot we have breakpoints in .h files?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro for Atmel 6.2: Waiting for debug breakpoint data
Reply #8 - Mar 8th, 2016 at 8:56pm
Print Post  
An arduino library is something different. You appear to be referring to normal project source code?

No .h files are not processed for debug but it's a consideration.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint