sitemule / noxDB

Not only XML. SQL,JSON and XML made easy for IBM i
MIT License
41 stars 20 forks source link

Debug when you want with something like json_debug() #34

Closed ottersberg closed 3 years ago

ottersberg commented 3 years ago

As shown in Issue #25 there are options for debugging. But you are dependent on when a noxDB function gets there. With a function like json_debug(pNode) which links to jx_traceNode() you could decide when you want to debug something.

NielsLiisberg commented 3 years ago

Yes! I am working on a solution where you can register your own trace callback function - that might be a procedure in your current code or a service program of your own. And I will provide an example..

Thanx for a great idea!!

tor. 3. jun. 2021 kl. 18.06 skrev Jens Ottersberg @.***

:

As shown in Issue #25 https://github.com/sitemule/noxDB/issues/25 there are options for debugging. But you are dependent on when a noxDB function gets there. With a function like json_debug(pNode) which links to jx_traceNode() you could decide when you want to debug something.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sitemule/noxDB/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVIPHUJ2IRUNRYFSZV5GI3TQ6SBFANCNFSM46BCX2RQ .

ottersberg commented 3 years ago

Ah okay. Didn't know that Issue #32 includes also an option for user-defined calls so that you can call it whenever you want.

NielsLiisberg commented 3 years ago

No it is not clear- however that is my interpretation of what makes most sense. Perhaps we should rename this issue. What do you think?

lør. 5. jun. 2021 kl. 12.25 skrev Jens Ottersberg @.***

:

Ah okay. Didn't know that Issue #32 https://github.com/sitemule/noxDB/issues/32 includes also an option for user-defined calls so that you can call it whenever you want.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/sitemule/noxDB/issues/34#issuecomment-855218528, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVIPHS4GFYL66OZJQEAELDTRH3S3ANCNFSM46BCX2RQ .

ottersberg commented 3 years ago

Of course. Feel free to rename.

NielsLiisberg commented 3 years ago

I hope this issues is also fixed by #32 - otherwise please reopen the issue if that is not exactly what you were asking for.