wokwi-features icon indicating copy to clipboard operation
wokwi-features copied to clipboard

Debugger stepping into random() function unable to display local variables

Open szaydel opened this issue 8 months ago • 0 comments

Describe the bug I enabled debugging in a toy project which had a call to random(0, 0xFF) in the loop() function and attempted to examine local variables. I assumed I should be able to see values of the two arguments to the function, howsmall and howbig. Instead, all I saw was unknown <unknown> = <unavailable>.

To Reproduce All I did was add a random() function call and enabled debugging. https://wokwi.com/projects/377171693143574529

Expected behavior I expected to see stack variables, which in this case would have been the two function arguments.

Environment (please complete the following information):

  • OS: MacOS Monterey
  • Browser Vivaldi
  • Version 6.2.3105.58 (Stable channel) (arm64)

Additional context Add any other context about the problem here.

szaydel avatar Oct 16 '23 01:10 szaydel