Garry's Mod Wiki


  table jit.util.tracesnap( number tr, number sn )


We advise against using this. It may be changed or removed in a future update. This function was disabled due to security concerns.

Return table fields:

  • 0 (ref) (number): first IR ref for the snapshot
  • 1 (nslots) (number): the number of valid slots
  • all indexes except first 2 and last (there might not be any of these): the snapshot map
  • last index in table (number): -16777216 (255 << 24)


1 number tr
trace index to retrieve snapshot for (gotten via jit.attach)
2 number sn
snapshot index for trace (starting from 0 to nexit - 1, nexit gotten via jit.util.traceinfo)


1 table