📄 watches.html
字号:
<HTML>
<HEAD>
<TITLE>Mappy VM Help - Watches</TITLE>
<META NAME="Author" CONTENT="Michael Noland">
<META NAME="Copyright" CONTENT="(C) 2001-2003 Bottled Light, Inc.">
</HEAD>
<BODY>
<P>
<H1>Watches</H1>
</P>
<HR><!------------------------------------------------------------------------->
<p>
If you want to monitor the value of a variable or expression while you debug your code, add a watch to the Watch List. The Watch List window displays the current value of the watch expression based on the scope of the execution point.
Once per frame, or after each single cycle step, the debugger evaluates all the items listed in the Watch List and updates their displayed values.
</p>
<p align="center">
<img src="images\watch_viewer.png"><br>
<em>The Watch List</em>
</p>
<p>
You can set a watch expression using the <b>Run..Add Watch</b> menu item, or by right-clicking within the Watch List.
Either method will display the Watch Properties dialog, which will allow you to configure the watch.
ou can also set a watch and specify its properties on the Watch Properties dialog box.
</p>
<p align="center">
<img src="images\watch_menu.png"><br>
<em>The context menu in the Watch List</em>
</p>
<p align="center">
<img src="images\watch_properties.png"><br>
<em>The Watch Properties Dialog</em>
</p>
<p>
Currently, watches are interpreted as <a href="expressions.html">expressions</a> which will return an address. A few examples of useful watches are:
<ul>
<li><code>$04000000</code> in halfword mode. This displays the DISP_CR register contents</li>
<li><code>SP</code> in word array mode, with length = 6. This displays the top 6 words on the stack.</li>
<li><code>r0 + r4*2 + r5*256</code> in byte mode. Perhaps a complex addressing calculation to access a texture element (it is shown here to demonstrate the versatility of expressions).</li>
</ul>
For more information on the expression syntax Mappy VM uses, see the help page for <a href="expressions.html">expressions</a>.
</p>
<HR><!------------------------------------------------------------------------->
<P ALIGN="center">Copyright © 2001 to 2003, Bottled Light, Inc.</P>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -