willox / auxtools

Rust library for low-level interfacing with BYOND's virtual machine. Includes a remote debugger for the BYOND DreamMaker language.
MIT License
28 stars 32 forks source link

Alphabetizes field variables in the debug server #16

Closed ZeWaka closed 3 years ago

ZeWaka commented 3 years ago

Title, also keeps the 'type' variable on top in the local section.

Resolves #14

willox commented 3 years ago

Isn't type a field and not a local? I think that logic would belong in object_to_variables (which also needs sorting.)

I don't think the args should be sorted because they should already be in a reasonable order.

The simplest way to test right now is to just not use the AUXTOOLS_DEBUG_DLL in your DM and hard-code the path to your built debug_server.dll. Master is compatible with SpacemanDMM atm so there's nothing to worry about there.

ZeWaka commented 3 years ago

Code_2020-12-20_10-18-48