Skip to content

Conversation

@cipharius
Copy link
Contributor

In attempt to improve the appl debugging sittuation, this provides custom Lua print function and augments it with tracing support.

@cipharius cipharius force-pushed the feature/lua-print-tracing branch from d2a4ea7 to e8b805b Compare September 1, 2023 19:04
@cipharius
Copy link
Contributor Author

The empty print case is still not satisfactory, will fix it first.

@cipharius cipharius force-pushed the feature/lua-print-tracing branch from e8b805b to 71c35bc Compare September 14, 2023 14:02
@cipharius
Copy link
Contributor Author

No more dancing around fixed, mutable string prefix. Now works well

Copy link
Owner

@letoram letoram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a better fit in src/engine/alt/trace.c as _lua.c will slowly be split out into that.

@cipharius cipharius force-pushed the feature/lua-print-tracing branch from 71c35bc to e815573 Compare October 4, 2023 09:16
@cipharius cipharius force-pushed the feature/lua-print-tracing branch from e815573 to 8c7ffc4 Compare October 4, 2023 09:53
@cipharius cipharius requested a review from letoram October 4, 2023 09:55
@letoram letoram merged commit 07baa1f into letoram:master Oct 6, 2023
@cipharius cipharius deleted the feature/lua-print-tracing branch October 6, 2023 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants