File: capture.html

package info (click to toggle)
jswat 1.7-2
  • links: PTS
  • area: contrib
  • in suites: etch, etch-m68k
  • size: 5,656 kB
  • ctags: 3,210
  • sloc: java: 24,683; xml: 130; makefile: 59; sh: 21
file content (53 lines) | stat: -rw-r--r-- 2,320 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
  <head>
    <meta name="generator" content=
    "HTML Tidy for Linux/x86 (vers 1st February 2002), see www.w3.org">

    <title>Capturing Debugger Messages</title>
  </head>

  <body bgcolor="#ffffff">
    <h2>Capturing Debugger Messages</h2>

    <h3>Debugger Messages</h3>

    <p>Debugger messages are those messages seen in the JSwat main
    window whenever a command or action is performed. Each time a
    breakpoint is hit or a single step is performed, a message is
    printed to the window. Normally these messages go to a text area
    within the JSwat window. This text area grows indefinitely until
    JSwat is terminated. A scroll bar on the side of the text area
    allows you to scroll up to see earlier messages. The text area also
    has a popup menu that allows copying selected text to the system
    clipboard.</p>

    <h3>Capturing Messages</h3>

    <p>JSwat provides a means for capturing the messages. Using the
    &quot;Capture Messages&quot; action found in the
    &quot;Options&quot; menu (as of 12/27/00) you can set the messages
    to also print to JSwat&#39;s standard output stream (the console
    that started JSwat) and/or to a named file. In the dialog that
    appears after selecting &quot;Capture Messages&quot; you may check
    the &quot;Capture to stdout&quot; or &quot;Capture to file&quot;
    options. If you select the &quot;Capture to file&quot;, be sure to
    enter a filename in the text field at the bottom of the dialog.</p>

    <p>To turn off the message capturing, simply bring up the same
    &quot;Capture Messages&quot; dialog and uncheck the checked
    options. If you only wish to change the name of the file which is
    catching the messages, you may simply type a new name into the
    dialog and press okay. The previous file will be closed and the new
    file will be created. Make sure the &quot;Capture to file&quot;
    option is checked before you press Ok.</p>

    <p>Note that when capturing to file the messages do not flush to
    the file immediately. Turning off the file capture will cause the
    buffers to be flushed to disk. <em>(I would have preferred the
    contents be flushed immediately but it does not seem to
    work.)</em></p>
  </body>
</html>