sa-mp debugger
#4

One could program an IDE and integrate the AMX machine into it, then compile the script with debug symbols. Break points could be implemented like that: you set a break point in the IDE and when compiling, the IDE adds a special native at that line. When code gets executed and the code executes the native, the native pauses the pawn thread. Only problem is reading data from stack, I don't have enough experience to tell if this is possible. Also if some runtime error happens it should be no problem to pause the pawn thread at the line of code where that error happened.
Almost everything is possible in theory
Reply


Messages In This Thread
sa-mp debugger - by zgintasz - 14.06.2013, 12:55
Re: sa-mp debugger - by Vince - 14.06.2013, 13:04
Re: sa-mp debugger - by zgintasz - 14.06.2013, 13:27
Re: sa-mp debugger - by maddinat0r - 15.06.2013, 08:57
Re: sa-mp debugger - by JoBullet - 15.06.2013, 09:41
Re: sa-mp debugger - by zgintasz - 15.06.2013, 09:54

Forum Jump:


Users browsing this thread: 3 Guest(s)