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 "When Hit" breakpoint (Read 5682 times)
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
"When Hit" breakpoint
Feb 19th, 2014 at 9:40pm
Print Post  
Hi,

I have two questions about this kind of breakpoints:

1- Why is it impossible to print blanks at the beginning of the message ?

For example I set this in the field (square brackets are to simulate the field box): [   This is a message]. There are four spaces before This. I expect to get:

   This is a message

But I get

This is a message

2- When I set this kind of breakpoints, I get this (copied from a real case):

Code
Select All
16:29:14.805 UF_TSN_1.ino, line 1068 character 1		cRep= 41060;
____ reponse 41060; 


Is it possible not to get the fist line, only the message (second line) ? I looked, but haven't found... maybe I checked in the wrong place  Undecided.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: "When Hit" breakpoint
Reply #1 - Feb 19th, 2014 at 10:28pm
Print Post  
Hi Giles

1) Yes I will put that on the list sounds like a Trim() that is not required

2) Please post the full output from the compile and also explain what you mean about "this" kind of breakpoint

Thanks
  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: "When Hit" breakpoint
Reply #2 - Feb 19th, 2014 at 10:53pm
Print Post  
For question no 2, I mean 'When Hit' breakpoint. I will send you the output for the compile tomorrow.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: "When Hit" breakpoint
Reply #3 - Feb 19th, 2014 at 11:13pm
Print Post  
ok, please also send .cpp files from the build folder after a debug compile/upload attempt. Also zip and send the Visual Micro folder below your sketch. Thanks
« Last Edit: Feb 19th, 2014 at 11:14pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: "When Hit" breakpoint
Reply #4 - Feb 25th, 2014 at 4:50pm
Print Post  
Quote:
2- When I set this kind of breakpoints, I get this (copied from a real case):

Code:
16:29:14.805 UF_TSN_1.ino, line 1068 character 1            cRep= 41060;
____ reponse 41060; 


Is it possible not to get the fist line, only the message (second line) ? I looked, but haven't found... maybe I checked in the wrong place  Undecided.


Click the little yellow bug icon on the serial monitor when in debug mode. This provides a menu with an item that allows you to specify where the "When Hit" text messages will appear. By default you will see that "Trace" is ticked. Untick "Trace" and then tick "Message"

This will put the messages in the "Micro Debug Message" output window and will leave the trace message line with the timestamp in the "Micro Debug Trace" output window.

This effectively allows messages and trace entries to appear in different windows. the setting will be retained when you close and reopen the ide

Does this solve your question?

Thanks
« Last Edit: Feb 25th, 2014 at 4:53pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: "When Hit" breakpoint
Reply #5 - Feb 25th, 2014 at 5:20pm
Print Post  
Does it solve my question...

absolutely  Smiley

And I found out how to get rid of the AGuage example that I turned on once to check, and was coming back each time.

It's just unfortunate that there is no documentation, but I understand this is a big project.

Thanks a lot.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: "When Hit" breakpoint
Reply #6 - Feb 25th, 2014 at 5:22pm
Print Post  
Interestingly enough the documents and a new help system are being written and will be available shortly.

Thanks for letting me know all is well.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: "When Hit" breakpoint
Reply #7 - Feb 25th, 2014 at 10:52pm
Print Post  
ps: the existing wiki does have most info but it's often difficult to find during a search. For example I found this article http://www.visualmicro.com/post/2014/01/20/Control-where-debugger-text-messages-...
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint