Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQ] Documentation around debugging an iotedge application with iotedgedev simulator #626

Open
gopimails opened this issue Apr 22, 2024 · 0 comments
Labels
feature triage Issues that need to be looked at

Comments

@gopimails
Copy link

gopimails commented Apr 22, 2024

Description.

Suggestion some assistance for debugging or some pointers to documentation.

I did

  • iotedgedev solution build -f deployment.debug.template.json. .../config/deployment.debug.amd64.json got created
  • iotedgedev iothub setup.
  • iotedgedev simulator setup -i "HostName=myhub.azure.devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=xxxSaSxxx"
  • iotedgedev simulator start
    • failed with ERROR: Deployment manifest config/deployment.amd64.json not found. Please build the solution before starting IoT Edge simulator.
    • Renamed /config/deployment.debug.amd64.json to /config/deployment.amd64.json OR
    • iotedgedev solution build -f deployment.debug.template.json
  • iotedgedev simulator start
    • Spined all modules "IoT Edge Simulator has been started in solution mode."

While trying to debug a module.

Exception has occurred: CLR/System.InvalidOperationException
An exception of type 'System.InvalidOperationException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'Environment variable IOTEDGE_WORKLOADURI is required.'

@gopimails gopimails added feature triage Issues that need to be looked at labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature triage Issues that need to be looked at
Projects
None yet
Development

No branches or pull requests

1 participant