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
with v1.15.6, some fields of vm.Program aren't accessible/public anymore, such as Locations.
I used to rely on the Locations field to fetch the source code line number associated with a given instruction pointer. By using vm.Step(), vm.Position() and the Locations of vm.Program, it allows to display debug/code to users when debugging their expression in crowdsec.
Making this field public again would allow to continue to provide such a feature!
The text was updated successfully, but these errors were encountered:
ref: #544
with v1.15.6, some fields of vm.Program aren't accessible/public anymore, such as Locations.
I used to rely on the Locations field to fetch the source code line number associated with a given instruction pointer. By using vm.Step(), vm.Position() and the Locations of vm.Program, it allows to display debug/code to users when debugging their expression in crowdsec.
Making this field public again would allow to continue to provide such a feature!
The text was updated successfully, but these errors were encountered: