-
Notifications
You must be signed in to change notification settings - Fork 166
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
Repl on Ubuntu does not respect Break points #2098
Comments
I think the problem is just that breakpoints don't work in top level constants. They should work fine in functions. |
Good to know, but this was meant as a demonstrator for a much more complex context. I was attempting to use on in the midst of a much larger project and it was not functioning there either (in that case in the midst of a function). I'll quickly write a test script with a function and breakpoint to confirm if it works or not outside of that project. |
Ok, I've now run this futhark file in the repl
and no breakpoints were utilized here either. |
It's the same situation: those breakpoints occur while evaluating top level constants, where they are ignored. They work just fine if you type I don't remember whether there was a very good reason we ignore breakpoints during initialisation. |
Ok, thank you for the clarification, I have been able to utilize a breakpoint now by simply manually running the line of interest after the load statement. Just had to do a change in workflow. |
I'm using version 0.25.12 (from brew) and am having difficulties in that the repl does not seem to utilize breakpoints in any way.
This is being run on an Ubuntu 22.04 WSL2 instance, futhark 0.25.12 installed via brew, in a python 3.10.12 virtual environment.
Even just loading the following test code, break points are not being respected:
this is making troubleshooting very challenging.
EDIT: an additional note, trace and #[trace] seem to work properly.
EDIT: further update, attempting to replicate the same environment on a virtual machine (also Ubuntu 22.04), the same break point test also fails
The text was updated successfully, but these errors were encountered: