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 Debugger? (Read 4471 times)
SirMichael
Junior Member
**
Offline


Posts: 12
Joined: Apr 10th, 2014
Debugger?
Apr 16th, 2014 at 2:43am
Print Post  
Not sure if I understand this correctly.
  Is the debugger (breakpoints, watches, etc.) only available with the paid version?
    How long is the trial version good for.
      Is the paid version good for all up grades?

I can't seem to get the debugger to stop on a breakpoint. 
   I started the free trial version, clicked on the (Micro Debug) and set "Full".

I've also set the "Enable Break/Pause" to True.

Reloading the program the system won't stop at the breakpoints.   
  Suggestions? 

Mike
« Last Edit: Apr 16th, 2014 at 3:06am by SirMichael »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugger?
Reply #1 - Apr 16th, 2014 at 5:05am
Print Post  
Hi,

Yes debugger in paid, trial is couple of weeks but you can start another when it ends at the moment.

If you have set a "When Hit" then you also have to untick Continue Execution in the When Hit window.

Say if not the problem

Thanks
« Last Edit: Apr 16th, 2014 at 5:06am by Tim@Visual Micro »  
Back to top
IP Logged
 
SirMichael
Junior Member
**
Offline


Posts: 12
Joined: Apr 10th, 2014
Re: Debugger?
Reply #2 - Apr 16th, 2014 at 5:35pm
Print Post  
No, still not breaking on the BreakPoint line.
  I right click the BreakPoint, on "When Hit" I removed the check on "Continue Execution" and set a "Print Message".

1. I don't see the message, the "Debugger Execution" window doesn't open to show the Message or Variables.
2. The code executes past the breakpoint that I have set (and prints a message out to my Display Shield.)
    (Debug Micro) is set to "Full" and tried "Enable Break/Pause" both True and False.
  Tried a "Clean" build too.

Curious:  When I try an "F10" my output shows a rebuild and upload...

I am trying to stop on the breakpoint so that I can single step, edit, continue, etc.

Mike
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugger?
Reply #3 - Apr 16th, 2014 at 5:46pm
Print Post  
You certainly need Break/Pause = True

The functions keys differ in the different Ide's but you will see that various options on the menus can start a new instance or the debugger.

F5 is the best key until you have a working system. With Break/Pause=False the F5 key will always compile and upload. With Break/Pause = True the F5 key will compile and upload but if in debug already  then a "terminate debug session?" prompt will appear.

Please make sure you have not ticked "Auto Continue" as described here http://www.visualmicro.com/page/user-guide.aspx?doc=Debugging-Modes.html

Thanks
  
Back to top
IP Logged
 
SirMichael
Junior Member
**
Offline


Posts: 12
Joined: Apr 10th, 2014
Re: Debugger?
Reply #4 - Apr 17th, 2014 at 1:04am
Print Post  
Tim,

I went through everything on the page that you referenced and I'm doing it all correctly. 
  I've tried everything that I can think of.

The debugging doesn't appear to work.
   Is there a way that I can reset all the settings on Visual Studio and Amtel 6.1 to reload them from factory defaults?

One more quick question, how do I match curly brackets and parenthesis.
  I'm used to Visual Studio matching them when I highlight them. 

Mike
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugger?
Reply #5 - Apr 19th, 2014 at 2:12am
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint