cancel
Showing results for 
Search instead for 
Did you mean: 

New KDB+/Q debugger

quintanar401
New Contributor
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.
2 REPLIES 2

michael_guyver
New Contributor
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