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

📄 debug.html

📁 jbuilder教程~!快来下载吧~! 这个很好快来啊~
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<li>选择 Run 页。</li>           

<li>在 VM Parameters 域中加入  <code>-classic</code></li>           

</ol>



<p>更多关于线程的信息,参阅<a href="debug2.html">&quot;Managing threads.&quot;</a></p>           

<p class="btbl">Synchronization monitors 视图中的图标</p>           

<table border="1" cellspacing="0" cellpadding="0">
<tr>
<th style="background-color: #000080"><font color="#FFFFFF" size="2">图标</font></th>
<th style="background-color: #000080"><font color="#FFFFFF" size="2">描述</font></th>
</tr>

<tr>
<td class="center"><font size="2"><img src="images/db_sync_monitor_not_locked.gif"></font></td>
<td><font size="2">由指定线程使用的同步监视器未被锁住。</font></td>
</tr>

<tr>
<td class="center"><font size="2"><img src="images/db_sync_monitor_locked.gif"></font></td>
<td><font size="2">由指定线程使用的同步监视器被锁住。</font></td>
</tr>
</table>

<p class="btbl">Synchronization monitors 视图中的右击菜单</p>           



<table border="1" cellspacing="0" cellpadding="0">
<tr>
<th style="background-color: #000080"><font color="#FFFFFF" size="2">命令</font></th>
<th style="background-color: #000080"><font color="#FFFFFF" size="2">描述</font></th>
</tr>

<tr>
<td><font size="2">Floating Window</font></td>           
<td><font size="2">使视图变为浮动窗口。当你右击视图的空白区域时,可以得到这个命令。 <span class="bsku">(JBuilder Professional and Enterprise)</span></font></td>           
</tr>

<tr>
<td><font size="2">Restore Default View Order</font></td> 
<td><font size="2">恢复调试器视图的默认顺序。当你右击视图的空白区域时,可以得到这个命令。  <span class="bsku">(JBuilder Professional and Enterprise)</span></font></td>           
</tr>
</table>


<a name="debugger_toolbar"></a> 
<p><font color="#000080" size="2"><b>调试器工具栏</b></font></p>
<!--BNDX="debugger:toolbar;debugger:status bar;status bars:debugger"-->
<p> 调试器底部的工具栏提供了对 Stop,Reset/Resume,Pause 图标,对 Smart Step 图标,对steppings 图标,对Add Breakpoint, Add Watch 以及 Show Current Frame 图标的快速访问。工具栏的右边是调试器状态栏,显示了状态信息。 </p>           

<p class="bfig">调试器工具栏</p>

<p><img src="images/db_toolbar.gif"></p>

<p>接下来的图表详细的解释了工具栏图标。</p>

<p class="btbl">工具栏图标</p>

<table border="1" width="729" cellspacing="0" cellpadding="0">
<tr>
<th width="40" style="background-color: #000080"><font color="#FFFFFF" size="2">图标</font></th>
<th width="123" style="background-color: #000080"><font color="#FFFFFF" size="2">动作</font></th>
<th width="544" style="background-color: #000080"><font color="#FFFFFF" size="2">描述</font></th>
</tr>

<tr>
<td class="center" width="40"><font size="2"><img src="images/db_toolbar_reset.gif" width="21" height="20" border="0"></font></td>
<td width="123"><font size="2">Reset Program</font></td>           
<td width="544"><font size="2">结束当前程序的运行并释放其占用的资源。等同于 <a href="../ui/menus/mrun.html">Run|Reset Program</a>. .</font></td>           
</tr>

<tr>
<td class="center" width="40"><font size="2"><img src="images/toolbardebug.gif">&#160;/&#160;<img src="images/db_toolbar_resume.gif"></font></td>
<td width="123"><font size="2">Restart/Resume Program</font></td>           
<td width="544"><font size="2">继续当前调试过程或者重新启动完成的或被复位的程序。等同于<a href="../ui/menus/mrun.html">Run|Resume Program</a>.</font></td>           
</tr>

<tr>
<td class="center" width="40"><font size="2"><img src="images/db_toolbar_pause.gif"></font></td>
<td width="123"><font size="2">Pause Program</font></td> 
<td width="544"><font size="2">暂停当前调试过程。等同于<a href="../ui/menus/mrun.html">Run|Pause Program</a>.</font></td>           
</tr>

<tr>
<td class="center" width="40"><font size="2"><img src="images/db_toolbar_smartstep.gif"></font></td>
<td width="123"><font size="2">Smart Step</font></td> 
<td width="544"><font size="2">控制是否在<a href="#trace_disabled_view">Classes with tracing disabled视图</a>中使用 Smart Step 设置以及在 Project Properties 对话框的<a href="../ui/dialogs/dlgdebugpage.html">Debug 页</a>中是否使用 Smart Step 选项。<span class="bsku">这是 JBuilder Professional and Enterprise 的一项属性。</span></font></td>           
</tr>

<tr>
<td class="center" width="40"><font size="2"><img src="images/db_toolbar_stepover.gif"></font></td>
<td width="123"><font size="2">Step Over</font></td>           
<td width="544"> <font size="2"> Steps over 代码的当前行。等同于 <a href="../ui/menus/mrun.html">Run|Step Over</a>.</font></td>           
</tr>

<tr>
<td class="center" width="40"><font size="2"><img src="images/db_toolbar_stepinto.gif"></font></td>
<td width="123"><font size="2">Step Into</font></td> 
<td width="544"><font size="2">Steps into 代码的当前行。等同于 <a href="../ui/menus/mrun.html">Run|Step Into</a>.</font></td>           
</tr>

<tr>
<td class="center" width="40"><font size="2"><img src="images/db_toolbar_stepout.gif"></font></td>
<td width="123"><font size="2">Step Out</font></td> 
<td width="544"><font size="2">跳出当前方法并回到它的调用者。等同于 <a href="../ui/menus/mrun.html">Run|Step Out</a>.</font></td>           
</tr>

<tr>
<td class="center" width="40"><font size="2"><img src="images/db_toolbar_addbreakpoint.gif"></font></td>
<td width="123"><font size="2">Add Breakpoint</font></td> 
<td width="544"><font size="2">给当前的调试过程添加一个断点。单击图标右边的向下箭头选择断点类型。等同于 <a href="../ui/menus/mrun.html">Run|Add Breakpoint</a>.</font></td>           
</tr>

<tr>
<td class="center" width="40"><font size="2"><img src="images/db_toolbar_watch.gif"></font></td>
<td width="123"><font size="2">Add Watch</font></td> 
<td width="544"><font size="2">给当前的调试过程添加一个监视。等同于 <a href="../ui/menus/mrun.html">Run|Add Watch</a>.</font></td>           
</tr>

<tr>
<td class="center" width="40"><font size="2"><img src="images/db_toolbar_showframe.gif"></font></td>
<td width="123"><font size="2">Show Current Frame</font></td> 
<td width="544"><font size="2">显示当前线程的调用栈并加亮源代码中的当前执行点。</font></td>
</tr>
</table>

<a name="debugger_shortcutkeys"></a> 
<p><font color="#000080" size="2"><b>调试器快捷键</b></font></p>
<!--BNDX="debugger:shortcut keys"-->
<p>你可以使用下面的快捷键方便地访问调试器的功能。 </p>
<p class="btbl">调试器快捷键</p>

<table border="1">
<tr>
<th style="background-color: #000080"><font color="#FFFFFF" size="2">Keys</font></th>
<th style="background-color: #000080"><font color="#FFFFFF" size="2">Action</font></th>
</tr>

<tr>
<td><kbd><font size="2">Shift+F9</font></kbd></td>
<td><font size="2">Debug project. 调试工程。</font></td>           
</tr>

<tr>
<td><kbd><font size="2">Ctrl+F2</font></kbd></td>
<td><font size="2">Reset program. 复位程序。</font></td>           
</tr>

<tr>
<td><kbd><font size="2">F4</font></kbd></td>
<td><font size="2">Run to cursor. 运行到光标。</font></td>           
</tr>

<tr>
<td><kbd><font size="2">F5</font></kbd></td>
<td><font size="2">Toggle breakpoint when in editor. 在编辑时,套牢断点。</font></td>           
</tr>

<tr>
<td><kbd><font size="2">F7</font></kbd></td>
<td><font size="2">Step into.</font></td> 
</tr>

<tr>
<td><kbd><font size="2">F8</font></kbd></td>
<td><font size="2">Step over.</font></td> 
</tr>

<tr>
<td><kbd><font size="2">F9</font></kbd></td>
<td><font size="2">Resume program (continues the current debug session). 恢复程序(继续当前的调试过程)。</font></td>           
</tr>

<tr>
<td><kbd><font size="2">Ctrl+right-mouse click</font></kbd> <font size="2"> in gutter on breakpoint</font></td>           
<td><font size="2">显示 Breakpoint Properties 对话框。</font></td>           
</tr>

<tr>
<td><kbd><font size="2">Ctrl+right-mouse click</font></kbd> <font size="2"> in editor on expression</font></td>           
<td><font size="2">为那个表达式显示出 ExpressionInsight 窗口。</font></td>           
</tr>
</table>

<a name="expression_insight"></a> 
<p><b><font color="#000080" size="2">ExpressionInsight</font></b></p>
<!--BNDX="debugger:ExpressionInsight;ExpressionInsight"-->
<blockquote class="bsku">这是 JBuilder Professional and Enterprise 的一项属性。</blockquote>           


<p>当调试器被挂起,你可以访问 ExpressionInsight - 一个小型的,弹出的窗口,这个窗口以树形状显示被选表达式的内容。为了显示 ExpressionInsight 窗口,</p>           
<ul>
<li>按下<kbd>Ctrl</kbd>键并在编辑器中把鼠标移到你的代码上。
<br>
当鼠标经过一个有意义的表达式时,显示 ExpressionInsight 窗口。</li>           

<li>把你的鼠标移到你想很具体观察的表达式,按下<kbd>Ctrl</kbd>键和鼠标右键。</li>
</ul>

<p>ExpressionInsight 窗口允许你转移到表达式的成员上。如果表达式是一个对象,右击菜单显示的菜单命令同当一个对象被选中时,在<a href="#threads_view">Threads, call stacks and data 视图</a>中得到的命令是相同的。</p>           
<p class="bfig">ExpressionInsight 窗口</p>           

<p><img src="images/db_expression_insight.gif"></p>

<p>当调试过程结束或没被挂起,ExpressionInsigh 窗口不起作用。</p>           

<a name="tooltips"></a>
<h3>Tool tips</h3> 
<!--BNDX="debugger:tool tips;tool tips"-->
<blockquote class="bsku">这是 JBuilder Professional and Enterprise 的一项属性。</blockquote> 


<p>当调试器被挂起,在编辑器中你可以把鼠标指针放在任何的变量上来显示它的值。这个值在一个小型弹起的称为 tool tip 的窗口中显示。如果你选择了文本,你将看到被选文本的值。 </p> 
<p class="bfig">Tool tip 窗口</p> 

<p><img src="images/db_tooltip.gif"></p>

<p>当调试过程结束或没被挂起,toop tips 不起作用。</p> 

</body>
</html>


⌨️ 快捷键说明

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