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
I am trying to use nargo debug to debug programs. The bug always occurs no matter the source program, so let's take a look at the minimal possible example:
fnmain(){}
Expected Behavior
When we run nargo debug the expected behavior is:
With first next we step in the body of the function
With the second next we exit the body of the function
With the third next we should get the message Finished execution
Bug
Currently the behavior is as follows:
With the first next we step in the body of the function
With the second next we jump into some random function from a random file. Check the provided image for more details.
With the third next we get the message Finished execution
Aim
I am trying to use
nargo debug
to debug programs. The bug always occurs no matter the source program, so let's take a look at the minimal possible example:Expected Behavior
When we run
nargo debug
the expected behavior is:next
we step in the body of the functionnext
we exit the body of the functionnext
we should get the messageFinished execution
Bug
Currently the behavior is as follows:
next
we step in the body of the functionnext
we jump into some random function from a random file. Check the provided image for more details.next
we get the messageFinished execution
Image for more details:

To Reproduce
See above.
Workaround
Yes
Workaround Description
This is a regression after #7333
Reverting it solves the issue.
Additional Context
No response
Project Impact
Blocker
Blocker Context
This impeeds the development of our project that is based on
nargo debug
.Nargo Version
nargo version = 1.0.0-beta.3 noirc version = 1.0.0-beta.3+c254c3ca07c65c7845d5affb17cb37114c5a3051
NoirJS Version
No response
Proving Backend Tooling & Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: