Knuckle Cracker

Particle Fleet => Map Makers, Ship Builders, and Coders => Topic started by: kajacx on September 21, 2017, 01:25:17 PM

Title: PRPL debugger: Trace you code step-by-step and see changes on stack & variables
Post by: kajacx on September 21, 2017, 01:25:17 PM
Do you have a problem in your PRPL code and don't know where? Are you tired of putting "Trace" everywhere? Then hesitate no more and download the PRPL Debugger!

Preview
[close]

How it works: You can execute your code one command at a time (or one line at a time), as well as see the stack, variables, and lists.

How to install: (requires Java 8, and mono if you are on Linux or Mac)

Controls:

If you have never used a debugger before, just try it out, it is pretty intuitive. Just a few of the things to watch out for: If you have Delay in your code, the entire script will still freeze for the duration of the delay. If the image slot "Custom0pp" is occupied by something else, upload the image to another slot, and change the script argument at CsBin/editor/DebuggerTemplate.prpl at line 10.

I hope this will help you find a problem in your code when you have one.