Dumping memory of a locked thread?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- radgeRayden
- Prole
- Posts: 29
- Joined: Sun Jul 27, 2014 6:49 pm
- Location: Brasil
- Contact:
Dumping memory of a locked thread?
Say one of my threads gets caught up in an infinite loop. I know this because I expected it to callback but it never did after a few seconds. All I want is to retrieve a table containing some important data to understand what was going on. Is there a way to do this? It's all hypothetical so please tell me if there's a flaw in my mental model.
Re: Dumping memory of a locked thread?
No. At best you can insert some code that dumps that data in some place you can access later, like the console or a log file. Using something like GDB would mean you need to be familiar with LuaJIT's internals, and even then, it would be a huge pain to decode the full contents of the table without some kind of specialized debugger to interpret it.
Who is online
Users browsing this forum: No registered users and 3 guests