-
we need nelua debugger(vscode) or tell us how to debug my app? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Is it a problem to debug Nelua with gdb/lldb? |
Beta Was this translation helpful? Give feedback.
-
Using
|
Beta Was this translation helpful? Give feedback.
Using
--sanitize
For quick fixes, you can use
--sanitize
to debug most memory corruption errors and also have a backtrace of aborts and crashes.For example, given the following
test.nelua
buggy program:Lets run it:
It aborted because of out of bounds error, but where it happened? Let's debug with
--sanitize
: