This page lists commands you can use for debugging, typically invoked using /debug <command>.

Debug

raw

Logs all raw IRC traffic Linkinus sends or receives to console.log. You can view it e. g. with Console.app.

echo

  • Usage: /debug echo <message>

Displays the given message in the current channel, query or console, but does not send it. Especially useful for script status messages.

  • Example: /debug echo Usage: /lastfm <your username>

html

Shows a webkit-style web inspector in the currently active window. Useful for debugging styles.

buffer

Displays information about the current window's scrollback buffer: the number of lines it shows, how high the scrollback preference is set, and if the buffer is full.

  • Example output: Line count: 100 | Buffer capacity: 100 | Maxed out? 1

javascript

Shows the same inspector as /debug html does, which can also be used for debugging JavaScript in styles.

Other

starting with Linkinus 2.2 two scripts have been bundled with it that allow you to do further debugging.

lnkdebug

  • Description: Creates a .zip archive on your desktop containing all Linkinus files and data including crash reports, preferences and miscellaneous files (without your log files) and then attaches them to an e-mail you can send to the developers.
  • Example Output:
  • Usage: /lnkdebug

lnkmem

  • Description: Grabs the current RAM usage for Linkinus and the Linkinus Agent and display them in the channel
  • Example Output: <Okeanos> Linkinus Memory Usage · Client: 519,4MB · Agent: 99,8MB · Uptime: 17h57m
  • Usage: /lnkmem
 
debugging_commands.txt · Last modified: 2010/12/27 07:53 by okeanos
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki