New KDB+/Q debugger

New Q debugger is available here https://github.com/quintanar401/dbg

Unlike other debug helper functions it gives you full control over the function/program and acts more like the ordinary Java/C debugger - you can execute functions line by line, step by step and etc, add breakpoints, inspect stack and all local variables in it.

It becomes useful when the call tree is complicated and it is not possible to understand the reason of failure just from one function where an exception occurred (or when this function is some q/Q function), also it works perfectly remotely when the built-in debugger provides no info at all.

I hope you find it useful!

WBR, Andrey.

Hi Andrew, 

Is this substantially different from the (your?) debugger hosted on code.kx.com?

Thanks

Michael

Hi Michael,

From the user point of view the differences are:

  1. It shows its progress using the original function (the previous dbg reconstructs functions from code).

  2. There is a new execution function - nexp - next expression, and it is possible to set breakpoints to expressions.

  3. There are functions to view variables and func bodies on the stack (this was hard in the prev version).

  4. It can enter the general amend (@[list;idx;{user fn}] and similar exps).

WBR, Andrey.

???, 6 ??? 2016 ?., 18:15:31 UTC+3 ??? Michael Guyver ???:

Hi Andrew, 

Is this substantially different from the (your?) debugger hosted on code.kx.com?

Thanks

Michael