Nmap Development mailing list archives

[NSE] Getting a backtrace?


From: Ron <ron () skullsecurity net>
Date: Fri, 24 Oct 2008 09:47:53 -0500

Hello,

When trying to troubleshoot problems with my scripts, I often get errors such as this: SCRIPT ENGINE: /usr/share/nmap/nselib/msrpc.lua:139: bad argument #1 to 'char' (number expected, got nil)

The problem is, the error is happening inside a function that's being called from 100+ places. Is there some way to get more information when there's a failure (the most important being, the backtrace/call stack/whatever)?

Thanks!

Ron

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: