I'd really like to have a way to debug functions #11625
yeroca
started this conversation in
New Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Once code is placed inside a function, it seems I have no visibility to the value of variables inside the function, which makes debugging painful. What I end up doing is unwrapping the function, placing the code inside in a separate KCL file, then debug the function's code by examining what are now global scope variables.
KCL seems to be a declarative language, and isn't really supposed to have a flow of control, but I think it could still use some sort of debugging capability, with breakpoints and so on. Maybe it's not possible at all, I dunno. I'm just reporting a pain point I have with the system.
All reactions