-
Notifications
You must be signed in to change notification settings - Fork 62
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
Local variable display breaks when expressions are large #239
Comments
Seems like it's probably a Gtk fluke. Note that I started working on VeriFast integration into VSCode recently, partly as a backup plan in case the Gtk-based approach ever becomes too cumbersome. Basic use cases mostly work, but many of the features present in vfide are still missing. |
I did some digging, and I'm pretty sure that what's happening is that the text rendering is actually looping around! GTK uses Pango, and most of the coordinate calculations in pango are using Going from What a nifty quirk. |
Given this file:
When I
run to cursor
onreturn x;
invfide
I see a garbled value in the locals pane:This doesn't happen when
x
is2^(2^16)
:Currently this is on a slightly modified version of
vfide
and I haven't tested it onmaster
yet, but I'd suspect it happens on other versions as well.The text was updated successfully, but these errors were encountered: