Difference between revisions of "AGIWiki/trace.on"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Created page with "{{AGIWiki}} The '''trace.on''' activates trace mode. trace.on(); Trace mode must be enabled (by setting flag <code>f10</code>, or <cod...")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
{{AGIWiki}}
{{AGIWiki}}
{{AGIWiki/Debugging Commands}}
The '''trace.on''' activates [[AGIWiki/Trace mode|trace mode]].


The '''trace.on''' activates [[AGIWiki/Trace mode|trace mode]].
== Syntax ==


  trace.on();
  trace.on();
== Remarks ==


Trace mode must be enabled (by setting [[AGIWiki/Flag|flag]] <code>f10</code>, or <code>trace_enabled</code>) for this command to work. Trace mode can also be activated if the player presses the SCROLL LOCK key on the keyboard.
Trace mode must be enabled (by setting [[AGIWiki/Flag|flag]] <code>f10</code>, or <code>trace_enabled</code>) for this command to work. Trace mode can also be activated if the player presses the SCROLL LOCK key on the keyboard.
Line 22: Line 27:


  trace.on();
  trace.on();
== Technical Information ==
{| border="1" cellpadding="2"
| style="background-color: #efefef" | '''Required interpreter version'''
| Available in all AGI versions
|-
| style="background-color: #efefef" | '''Bytecode value'''
| 149 (0x95 hex)
|}


== See also ==
== See also ==

Latest revision as of 21:07, 23 February 2015

AGIWiki


Debugging Commands

The trace.on activates trace mode.

Syntax

trace.on();

Remarks

Trace mode must be enabled (by setting flag f10, or trace_enabled) for this command to work. Trace mode can also be activated if the player presses the SCROLL LOCK key on the keyboard.

The trace mode window can be configured using the trace.info command.

Once trace mode has been activated, it can only be deactivated by the player pressing the SCROLL LOCK key.

Parameters

This command does not take any parameters.

Possible errors

  • If the flag f10 (trace_enabled) is not set, this command will not work.

Examples

trace.on();

Technical Information

Required interpreter version Available in all AGI versions
Bytecode value 149 (0x95 hex)

See also