VS Arduino
>> >> 1803.4
https://www.visualmicro.com/forums/YaBB.pl?num=1520089452

Message started by Visual Micro on Mar 3rd, 2018 at 3:04pm

Title: 1803.4
Post by Visual Micro on 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.


Arduino-Exception-Helper-Tool-With-Code-Drill-Down.png ( 53 KB | 0 Downloads )

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.