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
I just had an exception while running some functions in the REPL (via alt-enter), and the relevant functions in my code that actually caused the exception weren't show in the stack-trace calva gave me.
I took a look at #2029, but it seems like there the relevant functions were actually printed, so I believe this isn't a duplicate.
When running this, I get a stack trace which claims that the exception occured in clojure-adventure.vec2/-apply-items, but it doesn't show in the stack trace:
However, if I wrap it in a try/catch, I can see -apply-items and the functions that called it in the stack trace:
I have since found and fixed the error, and found that it was a relatively boring "everything was nil and so the function crashed", no special macros or anything - so I have no idea why the stacktrace acted weirdly.
Connect to the repl (using the default lein profile), go to src\clojure_adventure\fiddles\ui_fiddle.clj, and ctrl-click the sections after 1. and 3. to get the weird behvaiour, or 1. and 2. to get the actual stack trace.
I could make a lighter reproduction if it's needed, but I'll wait for an initial opinion of the issue (e.g. is this a silly dup or user error) before putting time into it
The text was updated successfully, but these errors were encountered:
I don't know why that item should fall victim to the filter, but it's either that, or Calva never sees that item. I can have a look, but it could be more effective if you check it out. I don't recall if you have run Calva in development or not. Please let me know if you wanna have a go at it and if you need any pointers. Otherwise I'll have a look.
I just had an exception while running some functions in the REPL (via alt-enter), and the relevant functions in my code that actually caused the exception weren't show in the stack-trace calva gave me.
I took a look at #2029, but it seems like there the relevant functions were actually printed, so I believe this isn't a duplicate.
When running this, I get a stack trace which claims that the exception occured in
clojure-adventure.vec2/-apply-items
, but it doesn't show in the stack trace:However, if I wrap it in a try/catch, I can see
-apply-items
and the functions that called it in the stack trace:I have since found and fixed the error, and found that it was a relatively boring "everything was
nil
and so the function crashed", no special macros or anything - so I have no idea why the stacktrace acted weirdly.My settings
Running this yourself
I have a reproducible (for me) version of this at https://github.com/guyguy2001/clojure-adventure in the
calva-reproduction/stacktrace
tag.Connect to the repl (using the default lein profile), go to src\clojure_adventure\fiddles\ui_fiddle.clj, and ctrl-click the sections after
1.
and3.
to get the weird behvaiour, or1.
and2.
to get the actual stack trace.I could make a lighter reproduction if it's needed, but I'll wait for an initial opinion of the issue (e.g. is this a silly dup or user error) before putting time into it
The text was updated successfully, but these errors were encountered: