[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Getting local variable debug info from within a nested function.
- From: "Matthew Armstrong" <turkeypotpie@...>
- Date: Fri, 8 Jun 2007 18:28:20 -0700
So I've gone and written myself some debugging utility functions, but am running into some trouble with the following:
function outer(param)
return
function()
-- (do something with param)
debug.debug()
end
end
outer(42)()
So when I break at debug.debug, a search up the stack doesn't give me any info about param. Any way to get this?