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

nargo debug jumps to a random file #7479

Closed
Aristotelis2002 opened this issue Feb 21, 2025 · 0 comments · Fixed by #7482
Closed

nargo debug jumps to a random file #7479

Aristotelis2002 opened this issue Feb 21, 2025 · 0 comments · Fixed by #7482
Assignees
Labels
bug Something isn't working

Comments

@Aristotelis2002
Copy link

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:

fn main() {}

Expected Behavior

When we run nargo debug the expected behavior is:

  1. With first next we step in the body of the function
  2. With the second next we exit the body of the function
  3. With the third next we should get the message Finished execution

Bug

Currently the behavior is as follows:

  1. With the first next we step in the body of the function
  2. With the second next we jump into some random function from a random file. Check the provided image for more details.
  3. With the third next we get the message Finished execution

Image for more details:
Image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants