arunkumarmunusamy / bitfighter

Automatically exported from code.google.com/p/bitfighter
Other
0 stars 0 forks source link

checkArgList failure prints empty string #411

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  call an API method that internally uses checkArgList()
2.  use an invalid argument
3.  see the stacktrace?  it doesn't print the error

For example, do this in a levelgen, in main():

  bf:subscribe(Event.ShipEnteredTheTwilightZone)

That will fail the args check and trigger a stack trace...  which prints empty 
strings for the stack.

Original issue reported on code.google.com by buckyballreaction on 12 Mar 2014 at 4:56

GoogleCodeExporter commented 9 years ago
Issue 413 has been merged into this issue.

Original comment by buckyballreaction on 27 Mar 2014 at 3:58

GoogleCodeExporter commented 9 years ago
This is due to LuaJIT's exception handling...  I have to fix issue 413 first 
(after I un-merge it)

Original comment by buckyballreaction on 27 Mar 2014 at 11:57

GoogleCodeExporter commented 9 years ago
This is also magically fixed in r8c14ffc2727e, although some stack traces print 
a little weird with '\9' concatenated at the start and '\13\' at the end of 
trace lines.

Original comment by buckyballreaction on 28 Mar 2014 at 5:19