Commit Graph

24 Commits (bc3d454dd6f46292f08f4f724203de22a85800ca)

Author SHA1 Message Date
Kim Alvefur 11b0084551 util: Various minor changes to please [luacheck] 8 years ago
Kim Alvefur c709121ca7 util.debug: Produce a sensible name for nameless upvalues to C functions 8 years ago
Kim Alvefur 5539087eef util.debug: Silence luacheck warning about modifying 'debug' lib 10 years ago
Kim Alvefur 3015aac8bc util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
Matthew Wild b2ea2f6d08 util.debug: Fix level of locals when inspecting a coroutine 13 years ago
Matthew Wild 8cb1b88d43 util.debug: Further fix to display locals in extended tracebacks 13 years ago
Matthew Wild 5fbfda38e7 util.debug: Fixes to make coroutine tracebacks work properly 13 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Matthew Wild 4a8ac583de util.debug: Add +1 to level when getting locals table, to account for current function 14 years ago
Matthew Wild 0dd908250d util.debug: Re-fix parameter handling (I think it matches debug.traceback() more accurately now) and document level fudge 14 years ago
Matthew Wild 2444af151c util.debug: Remove 'white' from boundary style (leave at default colour) 14 years ago
Matthew Wild 169deb9ca6 util.debug: Some more magic constant fiddling. Don't ask me. 14 years ago
Matthew Wild e6f0711e57 util.debug: Turn into a real-ish module ('debugx'), and require you call use() to override debug.traceback() 14 years ago
Matthew Wild a1b3f76c8c util.debug: Move boundary markers to top of relevant sections of the stack trace (easier to follow) 14 years ago
Matthew Wild 9794c49cea util.debug: Add a touch of colour to source locations 14 years ago
Matthew Wild 5cb235a17d util.debug: Add a bit of colour 14 years ago
Matthew Wild 059b6456a7 util.debug: Move optimal line length (default 65) into a variable 14 years ago
Matthew Wild 4c94b7dbf1 util.debug: Add markers in the output when crossing source file boundaries 14 years ago
Matthew Wild 553666c3f2 util.debug: Add catch for an "error in error handling" 14 years ago
Matthew Wild 451abcc73f util.debug: Attempt to get debug.traceback() parameter handling correct (again) 14 years ago
Matthew Wild 8eba0e5ebd util.debug: Adjust level within get_locals_table() to account for the additional depth of this function itself 14 years ago
Matthew Wild f64aa48b0f util.debug: Fix potential traceback 14 years ago
Matthew Wild 69c88fc828 util.debug: Experimental new library for producing more extensive debug tracebacks 14 years ago