You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While testing a Meadow.TensorFlow GestureDetector sample, I found that having a breakpoint in my code is causing an exception.
Method idx 0 is greater than number of rows (0) in PPDB MethodDebugInformation table, for method TensorFlow.litemicro.c_api_lite_micro:TfLiteMicroGetModel in '/meadow0/Meadow.TensorFlow.pdb'. Likely a malformed PDB file.
Meadow StdErr: Unrecoverable .NET Runtime error. Meadow will restart in 5 secon
Meadow StdErr: ds
This doesn't appear to happen for me on the same computer and IDE with a new ProjectLab template. So, it may be specific to this Meadow.TensorFlow sample.
If it's helpful, this library includes a .so library file that is referenced via DLLImport calls in C#.
Place a breakpoint in the MeadowApp.cs file, specifically on the first line of Run().
In the Run and Debug activity panel, select a Project Lab board and press the Start Debugging (Play) button.
When the breakpoint would be hit, the Meadow will crash with the above error and never stop in VS Code.
Expected behavior
Breakpoint should be hit and pause execution of the app.
Developer tools (please complete the following information as best as you can):
OS and version: macOS Sonoma 14.4.1 on a MacBook Air M2
IDE and version: VS Code v1.86.1
Meadow extension for IDE version: v1.9.6
Meadow (please complete the following information as best as you can):
Most of these vaues can be found by running meadow device info using the Meadow CLI.
Meadow hardware version: Project Lab (v2.?)
Board Information
Model: F7Micro
Hardware version: F7CoreComputeV2
Device name: MeadowF7
Hardware Information
Processor type: STM32F777IIK6
ID: 22-00-32-00-15-50-33-4D-35-34-33-20
Serial number: 206534614D33
Coprocessor type: ESP32
MAC Address -
WiFi: 4C:75:25:D5:2A:90
adrianstevens
changed the title
Setting breakpoint causing runtime exception
Setting breakpoint In TensorFlow sample causing runtime exception
Feb 4, 2025
Describe the bug
While testing a Meadow.TensorFlow GestureDetector sample, I found that having a breakpoint in my code is causing an exception.
This doesn't appear to happen for me on the same computer and IDE with a new ProjectLab template. So, it may be specific to this Meadow.TensorFlow sample.
If it's helpful, this library includes a .so library file that is referenced via DLLImport calls in C#.
To Reproduce
Steps to reproduce the behavior:
Run()
.When the breakpoint would be hit, the Meadow will crash with the above error and never stop in VS Code.
Expected behavior
Breakpoint should be hit and pause execution of the app.
Developer tools (please complete the following information as best as you can):
Meadow (please complete the following information as best as you can):
Most of these vaues can be found by running
meadow device info
using the Meadow CLI.The text was updated successfully, but these errors were encountered: