Garry's Mod Wiki


  table jit.util.traceinfo( number trace )


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:

  • link (number): the linked trace (0 for link types: none, return, interpreter)
  • nk (number): the lowest IR constant (???)
  • nins (number): the next IR instruction (???)
  • linktype (string): the link type (none, root, loop, tail-recursion, up-recursion, down-recursion, interpreter, return)
  • nexit (number): number of snapshots (for use with jit.util.tracesnap)


1 number trace
trace index to retrieve info for (gotten via jit.attach)


1 table
trace info