Skip to content

Conversation

@Akeit0
Copy link
Collaborator

@Akeit0 Akeit0 commented Feb 11, 2025

#23

This PR includes #101 and #102.

I have implemented getlocal, setlocal, getupvalue, setupvalue, upvaluejoin, getmetatable, setmetatable, traceback, getregistry and getinfo.

We cannot implement getuservalue/setuservalue, because userdata is not wrapped by a class UserData.
We cannot implement upvalueid, because UpValue is not ILuaUserData and there is no LuaValueType.LightUserData which can hold any reference.
Edit : All but debug.debug have been implemented.

@Akeit0
Copy link
Collaborator Author

Akeit0 commented Mar 3, 2025

I have passed the db.lua test and it is ready to merge.
I made many changes and add some classes.
@annulusgames I need your review....
e.g.src/Lua/Runtime/CsClosure.cs

I basically added many API as internal, but after a while it will need to be made public once it is stable.

@Akeit0 Akeit0 changed the title Add: debug library, but not full Add: debug library Mar 3, 2025
@Akeit0 Akeit0 mentioned this pull request Mar 6, 2025
@Akeit0 Akeit0 merged commit 948c867 into nuskey8:main Apr 15, 2025
@Akeit0 Akeit0 deleted the feature-debug branch August 30, 2025 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant