Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Debugger fails with function handle #24

Open
kuanxu opened this issue Mar 12, 2018 · 1 comment
Open

Debugger fails with function handle #24

kuanxu opened this issue Mar 12, 2018 · 1 comment

Comments

@kuanxu
Copy link

kuanxu commented Mar 12, 2018

function EvaluateAFunction(f)
  return f(2);
end

x = EvaluateAFunction(x->sin(x))
@enter EvaluateAFunction(x->sin(x))

Running this code snippet in JuliaPro returns an error of AssertionError: arg isa Expr && arg.head == :call. Seems that the debugger can't deal with function handles as argument.

@KristofferC
Copy link
Member

Works with #37

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants