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
function sum_f(ls::Vector{Float64})
s = 0
for x in ls
s += f(x)
end
return s
end
function f(x::Float64)
@infiltrate
return sin(x)
end
ls = collect(range(0, stop=1, length=11))
sum_f(ls)
When I don't exfiltrate anything, the behavior at any point of @infiltrate is as expected:
infil> x
0.0
infil> @continue
infil> x
0.1
infil> @continue
infil> x
0.2
But if I @exfiltrate x, at the next point of @infiltrate, I cannot access x at this breaking point:
infil> @exfiltrate
Exfiltrating 1 local variable into the safehouse.
infil> @continue
infil> x
0.2
infil> @continue
infil> x
0.2
Although at this breaking point x is actually is:
infil> @locals
- x::Float64 = 0.4
I don't think this is deliberately designed to work like this, is it?
The text was updated successfully, but these errors were encountered:
The mwe is:
When I don't exfiltrate anything, the behavior at any point of
@infiltrate
is as expected:But if I
@exfiltrate x
, at the next point of@infiltrate
, I cannot accessx
at this breaking point:Although at this breaking point x is actually is:
I don't think this is deliberately designed to work like this, is it?
The text was updated successfully, but these errors were encountered: