Pause before the decision
PCA SCRIPT DEBUGGER
A breakpoint tells the editor to pause a running PCA Script so you can inspect the values in that call. Put it near the choice you want to understand.
The red dot marks line 5 in gate_check. The highlighted comparison asks whether tickets is strictly greater than price.
01. Open the record in the PCA Script workspace. Mark an executable line using the breakpoint gutter or the code editor’s Toggle Breakpoint command. Run the record from that workspace with Run.
02. Run can switch you to Runtime Preview. Return to PCA Script to see the pause status, caret and watches. If Continue and Step are disabled, check that this record ran and execution reached that line.
Scroll the watch list to the shared value you need. At this pause, globals.tickets reads 2.0.
03. Step advances to the next debug stop. Continue lets execution proceed until another stop or the end. Read the output after continuing to confirm which branch actually ran.
The watch list is a snapshot grouped by locals, constants, globals and context. Scroll if necessary. These controls belong to the PCA Script workspace. A released game does not wait for the editor’s Continue button.
