Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
1803.4 (Read 792 times)
Visual Micro
Administrator
*****
Offline



Posts: 10463
United Kingdom
1803.4
Mar 3rd, 2018 at 3:04pm
 
  • Fix: Library architecture resolution failed for some libraries due to an incorrect string case comparison resolving architecture= for library.properties
  • Add: PostUpload hook for standard upload. Previously was only applied to programmer/tool uploads. Syntax is:  recipe.hooks.deploy.postupload.1.pattern=
  • Support serial exception and stack reporting with dbl click drill down into code. A new icon appears on the serial monitor when an exception is detected.

    Visual Micro exception handling is pre-configured for esp8266 (and possibly for esp32 as yet untested) but can be implemented for other platforms/boards with the following example properties:-

    Code (C++):
    exceptions.serial.enabled=true
    exceptions.serial.messages=[path to]/exceptions.txt
    exceptions.serial.regex.exception_number=Exception \(([0-9]*)\):
    exceptions.serial.regex.stack_addresses=40[0-2][0-9a-f]{5}\b
    exceptions.serial.resolve.addr2line.args=-aipfC -e"{build.path}/{build.project_name}.elf"
    exceptions.serial.resolve.addr2line.cmd=xtensa-lx106-elf-addr2line
    exceptions.serial.resolve.stack_addresses.pattern="{compiler.path}{addr2line.cmd}" {addr2line.args} {stack_addresses.list}
     
    
    


    note: exceptions.serial.messages can be a file path or a , sep list of exceptions. Text file is line terminated. Each line or item represents the full error message.
Back to top
« Last Edit: Mar 5th, 2018 at 1:35pm by Visual Micro »  
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print