Should this be made?
Yes
100.00%
1
No
0%
0
1 vote(s)
* You voted for this item. [Show Results]

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Suggestion] Fast testing and debugging
#1
Hello, I have two new suggestions (for when the times open.mp client will be made).



1. Fast Testing

Please, make that after compiling the new script, you can quickly test?it without a GMX or reloadfs. This could create some problems in some scenarios where a restart is necessary?of course, but in many cases it will just speed the workflow up (for example when dealing with text draws).



2. Debugging

Allow breakpoints, pausing, changing the instruction pointer's position?and reading/writing variables?at runtime (without pausing the multiplayer sync). Also it would be cool to integrate in the compiler a tool that generates sort of .pdb files, which would give you line numbers and positions when a runtime error occurs.



Thanks.
  Reply
#2
Gamemode reloads without sending a net client "restart" (in that case SA-MP) is possible, but can cause client bugs which you said are bound to happen which could be cirumvented by properly free-ing stuff on GM exit.

Breakpoints, pausing won't be possible with full SA-MP compatibility.

PAWN and the network run on the same thread. Which is required to allow things like OnPlayerUpdate apart from that: PAWN is not thread-safe it's targeting single threaded enviroments.
  Reply


Forum Jump: