to give out the line number where the error happend and stuff... anyway to do that? (I am not familiar with assembly)
Depends on error. If you're talking about crashes and exceptions gdb or other debugger will show you where the exception happened. If it's a logical error it's harder. You can, sort of limit your by validating your input and adding assertions when conditions do not match what is expected. That way you'll catch errors earlier
Обсуждают сегодня