jq icon indicating copy to clipboard operation
jq copied to clipboard

Improved development experience

Open wader opened this issue 2 years ago • 3 comments

This issue is meant to collect ideas for an improved development and debug experience.

Some ideas:

  • Option to enable some kind of stack trace on error
    • Function name if def or builtin
    • Filename, line and column
    • Possible to even show some lind of shorten binding/args?
  • Improved errors
    • For builtins include function name
    • For error thrown by def/lambdas track name/location also somehow to be shown if not caught?

wader avatar Jul 25 '23 20:07 wader

A debugger would be nice too...

nicowilliams avatar Jul 25 '23 20:07 nicowilliams

Like in Python's pdb, we could have a breakpoint builtin that drops one into a debugger prompt where . and bindings could be examined. Being able to step in and so on would also be nice.

nicowilliams avatar Jul 25 '23 20:07 nicowilliams