Informatic0re
04/22/2024, 6:58 AM$ jag decode WyNVBVVYU1UQdjIuMC4wLWFscGhhLjE0NVNVAFskVSNVEMo6M7I26VnnsQydl1gfQixbI1UEVUVTVQlFWENFUFRJT05TVQRbNzRdWyNVAlVTWyNVC1sjbAAAAANVRlUASR5/WyNsAAAAA1VGVQFJHmtbI2wAAAADVUZVAkkErlsjbAAAAANVRlUDSRKLWyNsAAAAA1VGVQRJFD9bI2wAAAADVUZVBUkUVlsjbAAAAANVRlUGSWbdWyNsAAAAA1VGVQdJZvVbI2wAAAADVUZVCElmGVsjbAAAAANVRlUJSWahWyNsAAAAA1VGVQpJEqI=
EXCEPTION error.
[74]
No such file: C:\...\.cache\jaguar\snapshots\ca3a33b2-36e9-59e7-b10c-9d97581f422c.snapshot
Error: cannot decode stacktrace without snapshot for program: ca3a33b2-36e9-59e7-b10c-9d97581f422c
How can I change this path or tell toit to use it? And where can I even find this snapshot? Is it the one I created (but with a different name?)Informatic0re
04/22/2024, 7:03 AMtoit.compile -w komodo.snapshot src/komodo.toit
install container to envelope: firmware -e firmware-esp32s3.envelope container install komodo komodo.snapshot
flash: firmware -e firmware-esp32s3.envelope flash -p COM19 --baud 921600 --chip esp32s3floitsch
04/22/2024, 9:43 AMjag monitor works.kasperl
04/22/2024, 10:18 AMjag decode could take a path to a snapshot as an optional argument?floitsch
04/22/2024, 10:19 AMfloitsch
04/22/2024, 10:20 AMfloitsch
04/22/2024, 10:20 AMInformatic0re
04/22/2024, 12:06 PMfloitsch
04/22/2024, 12:07 PMfloitsch
04/22/2024, 12:07 PMjag to also search for snapshots in it.Informatic0re
04/22/2024, 12:08 PMfloitsch
04/22/2024, 12:19 PMtoit tool snapshot uuidfloitsch
04/22/2024, 12:21 PMtools/toitp uuid file.snapshot (iirc).Informatic0re
04/22/2024, 1:08 PMfloitsch
04/22/2024, 1:10 PMInformatic0re
04/22/2024, 2:02 PMInformatic0re
04/22/2024, 2:48 PMInformatic0re
04/22/2024, 2:48 PMfloitsch
04/22/2024, 2:53 PMtoit.pkg instead.Informatic0re
04/22/2024, 3:25 PM/home/runner/work/trap-a-rep-trigger/trap-a-rep-trigger/src/toit/package.lock:5:10: error: Package 'github.com/informaticore/toit-ringbuffer-1.0.3' not found
the link is not right at leastInformatic0re
04/22/2024, 3:26 PMtoit.pkg install which should install all dependencies (which is just this one)Informatic0re
04/22/2024, 3:27 PMInformatic0re
04/22/2024, 3:42 PMfirmware -e firmware-esp32s2.envelope container install komodo komodo.snapshotInformatic0re
04/22/2024, 3:42 PMfloitsch
04/22/2024, 3:44 PMtoit.pkg --project-root=...Informatic0re
04/22/2024, 9:14 PM- name: Build toit firmware
working-directory: src/toit
run: |
toit.pkg install
toit.compile -w komodo.snapshot src/komodo.toit
firmware -e firmware-esp32s2.envelope container install komodo komodo.snapshotfloitsch
04/22/2024, 9:39 PMfirmware is also part of the SDK.
It might not be automatically in the PATH. But the GitHub action also sets an environment variable where it has put the SDK. It's then in sdk/toolsInformatic0re
04/22/2024, 10:06 PMfloitsch
04/22/2024, 10:19 PM--strip flag).
The binary you get from the firmware extract command, on the other hand, is just what needs to be shippedfloitsch
04/22/2024, 10:23 PMtoit executable anyway. So you would rarely need it.Informatic0re
04/23/2024, 7:58 AM