⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 source_debugger.html

📁 一个不出名的GBA模拟器
💻 HTML
字号:
<HTML>
<HEAD>
<TITLE>Mappy VM Help - Source Debugging</TITLE>
<META NAME="Author" CONTENT="Michael Noland">
<META NAME="Copyright" CONTENT="(C) 2001-2003 Bottled Light, Inc.">
</HEAD>
<BODY>

<P>
<H1>Source level debugging with Mappy VM</H1>
</P>

<HR><!------------------------------------------------------------------------->

The source debugger is still in alpha stages, but it is now stable enough for
general use.

To enable the source level debugger, you must load .ELF files into Mappy VM
instead of the usual flattened binary images.
<ul>
For GCC, you must compile using the <code><b>"-g"</b></code> command line switch 
to generate the necessary DWARF data within the .ELF file.
<br><br>
For ARM SDT / ADS, you must compile using <code><b>"-g+"</b></code> command line switch. 
</ul>

<p>
It is also a good idea to turn optimizations down to the lowest level.  GCC at -O3 in
particular generates very poor debugging data.
</p>
<p>
Clicking on a blue dot in the margin will toggle a source code breakpoint for that
line.   Dots indicate lines that contributed code to the final binary, some lines
that you would expect a dot to appear on may not have them, if the compiler optimized
that code away.
</p>
<p>
Both the watches and the evaluate / modify dialog are capable of inspecting variables
in the current scope.  The evaluate / modify dialog has a button that will display
all of the variables currently in scope, and can be accessed from the Run menu of the
<em>main</em> Mappy VM window, or using the hotkey <code>Ctrl+F7</code>.
</p>

<p align="center">
<img src="images\source_debugger.png"><br>
<em>Source Debugger</em>
</p>

Please note that the variable viewer in the lower right is incomplete, and the
class view is disabled due to stability issues.  These will be rectified soon.

<HR><!------------------------------------------------------------------------->

<P ALIGN="center">Copyright &copy; 2001 to 2003, Bottled Light, Inc.</P>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -