﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-路人乙-文章分类-工具使用</title><link>http://www.blogjava.net/yemen/category/34319.html</link><description>心有多大，舞台就有多大。</description><language>zh-cn</language><lastBuildDate>Tue, 28 Oct 2008 09:05:55 GMT</lastBuildDate><pubDate>Tue, 28 Oct 2008 09:05:55 GMT</pubDate><ttl>60</ttl><item><title>【转】2003安装iis</title><link>http://www.blogjava.net/yemen/articles/236249.html</link><dc:creator>上帝也犯困</dc:creator><author>上帝也犯困</author><pubDate>Thu, 23 Oct 2008 12:02:00 GMT</pubDate><guid>http://www.blogjava.net/yemen/articles/236249.html</guid><wfw:comment>http://www.blogjava.net/yemen/comments/236249.html</wfw:comment><comments>http://www.blogjava.net/yemen/articles/236249.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/yemen/comments/commentRss/236249.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/yemen/services/trackbacks/236249.html</trackback:ping><description><![CDATA[<strong>安装篇 <br />
<br />
</strong><strong style="color: black; background-color: #a0ffff">2003</strong>默认安装不带<strong style="color: black; background-color: #99ff99">IIS</strong>的，要安装，请点击<br />
<br />
开始-&gt;管理工具-&gt;配置您的<a class="wordstyle" href="http://www.zzy.com/" target="_blank">服务器</a>向导
<p>然后一步步的下一步。到了列表选择项目的时候。<br />
从列表中选择 <br />
应用<a class="wordstyle" href="http://www.zzy.com/" target="_blank">服务器</a>（<strong style="color: black; background-color: #99ff99">IIS</strong>,ASP.NET）</p>
<p>&nbsp;&nbsp; 然后确定，下一步 <br />
frontpage server extension和asp.net</p>
<p>如果要支持.Net，都打勾，前者vs用到。</p>
<p>然后一路下一步。成功后最后mmc管理去。</p>
<p><strong>设置篇：</strong></p>
<p>1：支持Asp： <br />
控制面板 -&gt; 管理工具 -&gt;<strong style="color: black; background-color: #99ff99">IIS</strong>(Internet <a class="wordstyle" href="http://www.zzy.com/" target="_blank">服务器</a>)- <a class="wordstyle" href="http://www.7xm.net/article/search.asp?keyword=web&amp;SeTypeTxt=%2Farticle%2Fsearch.asp%3Fact%3Dtopic%26keyword%3D" target="_blank">Web</a>服务扩展 -&gt; Active Server Pages -&gt; 允许</p>
<p>控制面板 -&gt; 管理工具 -&gt;<strong style="color: black; background-color: #99ff99">IIS</strong>(Internet <a class="wordstyle" href="http://www.zzy.com/" target="_blank">服务器</a>)- <a class="wordstyle" href="http://www.7xm.net/article/search.asp?keyword=web&amp;SeTypeTxt=%2Farticle%2Fsearch.asp%3Fact%3Dtopic%26keyword%3D" target="_blank">Web</a>服务扩展 -&gt; 在服务端的包含文件 -&gt; 允许</p>
<p>2：上传200K限制：</p>
<p>先在服务里关闭<strong style="color: black; background-color: #99ff99">iis</strong> admin service服务<br />
找到<strong style="color: black; background-color: #ffff66">windows</strong>\system32\inesrv\下的metabase.xml,<br />
打开，找到ASPMaxRequestEntityAllowed 把他修改为需要的值，<br />
然后iisreset</p>
<p>3：启用父路径：</p>
<p><strong style="color: black; background-color: #99ff99">IIS</strong>-网站－主目录－配置－选项－启用父路</p>
<img src ="http://www.blogjava.net/yemen/aggbug/236249.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/yemen/" target="_blank">上帝也犯困</a> 2008-10-23 20:02 <a href="http://www.blogjava.net/yemen/articles/236249.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FAT32和NTFS</title><link>http://www.blogjava.net/yemen/articles/235522.html</link><dc:creator>上帝也犯困</dc:creator><author>上帝也犯困</author><pubDate>Mon, 20 Oct 2008 11:39:00 GMT</pubDate><guid>http://www.blogjava.net/yemen/articles/235522.html</guid><wfw:comment>http://www.blogjava.net/yemen/comments/235522.html</wfw:comment><comments>http://www.blogjava.net/yemen/articles/235522.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/yemen/comments/commentRss/235522.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/yemen/services/trackbacks/235522.html</trackback:ping><description><![CDATA[1、FAT32：它是FAT16的增强版本，可以支持大到2TB(2048G)的分区。FAT32使用的簇比FAT16小，从而有效地节约了硬盘空间。从Windows 98开始，FAT32开始流行。
<br />
2、NTFS：微软Windows
NT内核的系列操作系统支持的、一个特别为网络和磁盘配额、文件加密等管理安全特性设计的磁盘格式。随着以NT为内核的Windows
2000/XP的普及，很多个人用户开始用到了NTFS。NTFS也是以簇为单位来存储数据文件，但NTFS中簇的大小并不依赖于磁盘或分区的大小。簇尺
寸的缩小不但降低了磁盘空间的浪费，还减少了产生磁盘碎片的可能。NTFS支持文件加密管理功能，可为用户提供更高层次的安全保证。
<br />
3、NTFS文件系统支持的操作系统
<br />
FAT32 ： windows 95/98/me/2000/xp
<br />
NTFS ： windows nt/2000/xp
<br />
4、使用建议
<br />
NTFS文件系统格式，它能更充分有效地利用磁盘空间、支持文件级压缩、具备更好的文件安全性。如果你只安装Windows 2000/XP，建议选择NTFS文件系统。
<br />
如果是98或多重引导系统，则系统盘(C盘)选出FAT32或FAT16，否则不支持。当然，其他分区的文件系统可以为FAT32或NTFS。<br />
---------------------<br />
NTFS 比 FAT 或 FAT32 的功能更强大，同时它还包括提供 Active Directory所需的功能以及其它重要安全性功能。只有通过选择 NTFS 作为文件系统才能使用诸如 Active Directory 和基于域的安全性等功能。
<br />
将分区转换为 NTFS 很容易。使用安装程序进行转换很容易，不论您使用的是 FAT 还是 FAT32 或更低版本的
NTFS。这种转换可以保持您的文件不发生变化（与格式化分区不同）。如果不需要使文件保持原样，且已拥有 FAT 或 FAT32 分区，则建议使用
NTFS 来格式化分区而不是从 FAT 或 FAT32 进行转换。格式化分区会删除分区上的所有数据，使您能够从一个空驱动器开始进行操作。 <br />
要维护文件和文件夹访问控制并支持有限个帐户，必须使用 NTFS。如果使用 FAT32，所有用户都将具有访问权，以访问您的硬盘驱动器上的所有文件，而不考虑其帐户类型（管理员、有限制的或标准的）。
<br />
NTFS 是一种最适合处理大磁盘的文件系统。（下一个性能仅次于 NTFS 并适于处理大磁盘的文件系统是 FAT32。）<br />
<img src ="http://www.blogjava.net/yemen/aggbug/235522.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/yemen/" target="_blank">上帝也犯困</a> 2008-10-20 19:39 <a href="http://www.blogjava.net/yemen/articles/235522.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>从光盘启动计算机</title><link>http://www.blogjava.net/yemen/articles/235520.html</link><dc:creator>上帝也犯困</dc:creator><author>上帝也犯困</author><pubDate>Mon, 20 Oct 2008 11:29:00 GMT</pubDate><guid>http://www.blogjava.net/yemen/articles/235520.html</guid><wfw:comment>http://www.blogjava.net/yemen/comments/235520.html</wfw:comment><comments>http://www.blogjava.net/yemen/articles/235520.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/yemen/comments/commentRss/235520.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/yemen/services/trackbacks/235520.html</trackback:ping><description><![CDATA[1、在启动计算机时即刻按 Delete (Del)【删除键】进入 BIOS【基本输入输出系统】设置。 <br />
2、选择 Advanced BIOS Features 【高级 BIOS 特性设置】，选择 Fast Boot 【快速引导】，并将 First Boot Device (1st Boot) 【第一启动设备】根据需要设置为 CDROM 【光盘启动】或 Floppy 【软盘启动】。具体操作：将光标移动到 First Boot Device (1st Boot),按 Enter 【回车键】，用光标键选择 CDROM 或 Floppy 再按 Enter 【回车键】，然后按 F10 当你看到类似 Save and exit setup? (Y/N)【是否保存设置并退出？】，你键入 Y ,也就是 Yes【是】，这时候计算机自动重启。
<img src ="http://www.blogjava.net/yemen/aggbug/235520.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/yemen/" target="_blank">上帝也犯困</a> 2008-10-20 19:29 <a href="http://www.blogjava.net/yemen/articles/235520.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>SVN图标变了</title><link>http://www.blogjava.net/yemen/articles/233837.html</link><dc:creator>上帝也犯困</dc:creator><author>上帝也犯困</author><pubDate>Sun, 12 Oct 2008 02:42:00 GMT</pubDate><guid>http://www.blogjava.net/yemen/articles/233837.html</guid><wfw:comment>http://www.blogjava.net/yemen/comments/233837.html</wfw:comment><comments>http://www.blogjava.net/yemen/articles/233837.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/yemen/comments/commentRss/233837.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/yemen/services/trackbacks/233837.html</trackback:ping><description><![CDATA[文件夹上绿色的打勾图标变成白色的文本图标<br />
后来，计算机重启又恢复了<br />
上网查了下与<br />
右键-&gt;TortoiseSVN-&gt;Settings-&gt;Look and Feel -&gt;<font color="#c60a00">Icon</font> Overlays有关。
<img src ="http://www.blogjava.net/yemen/aggbug/233837.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/yemen/" target="_blank">上帝也犯困</a> 2008-10-12 10:42 <a href="http://www.blogjava.net/yemen/articles/233837.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【转帖】IntelliJ Idea 常用快捷键列表</title><link>http://www.blogjava.net/yemen/articles/231181.html</link><dc:creator>上帝也犯困</dc:creator><author>上帝也犯困</author><pubDate>Thu, 25 Sep 2008 12:01:00 GMT</pubDate><guid>http://www.blogjava.net/yemen/articles/231181.html</guid><wfw:comment>http://www.blogjava.net/yemen/comments/231181.html</wfw:comment><comments>http://www.blogjava.net/yemen/articles/231181.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/yemen/comments/commentRss/231181.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/yemen/services/trackbacks/231181.html</trackback:ping><description><![CDATA[<br />
<div><strong><font size="3" color="#ff0000">IntelliJ Idea 常用快捷键列表</font></strong></div>
<div>&nbsp;</div>
<div>Alt+回车 导入包,自动修正<br />
Ctrl+N&nbsp;&nbsp; 查找类<br />
Ctrl+Shift+N 查找文件<br />
Ctrl+Alt+L&nbsp; 格式化代码</div>
<div>Ctrl+Alt+O 优化导入的类和包<br />
Alt+Insert 生成代码(如get,set方法,构造函数等)<br />
Ctrl+E或者Alt+Shift+C&nbsp; 最近更改的代码<br />
Ctrl+R 替换文本</div>
<div>Ctrl+F 查找文本<br />
Ctrl+Shift+Space 自动补全代码<br />
Ctrl+空格 代码提示</div>
<div>Ctrl+Alt+Space 类名或接口名提示</div>
<div>Ctrl+P 方法参数提示</div>
<div>Ctrl+Shift+Alt+N 查找类中的方法或变量</div>
<div>Alt+Shift+C 对比最近修改的代码</div>
<div>&nbsp;</div>
<div>Shift+F6&nbsp; 重构-重命名<br />
Ctrl+Shift+先上键<br />
Ctrl+X 删除行<br />
Ctrl+D 复制行<br />
Ctrl+/ 或&nbsp;Ctrl+Shift+/&nbsp; 注释（// 或者/*...*/&nbsp;）<br />
Ctrl+J&nbsp; 自动代码<br />
Ctrl+E 最近打开的文件</div>
<div>Ctrl+H 显示类结构图</div>
<div>Ctrl+Q 显示注释文档<br />
Alt+F1 查找代码所在位置<br />
Alt+1 快速打开或隐藏工程面板</div>
<div>Ctrl+Alt+ left/right 返回至上次浏览的位置<br />
Alt+ left/right 切换代码视图</div>
<div>
<div>Alt+ Up/Down 在方法间快速移动定位</div>
Ctrl+Shift+Up/Down 代码向上/下移动。</div>
<div>F2 或Shift+F2 高亮错误或警告快速定位</div>
<div>&nbsp;</div>
<div>代码标签输入完成后，按Tab，生成代码。</div>
<div>选中文本，按Ctrl+Shift+F7 ，高亮显示所有该文本，按Esc高亮消失。</div>
<div>Ctrl+W 选中代码，连续按会有其他效果</div>
<div>选中文本，按Alt+F3 ，逐个往下查找相同文本，并高亮显示。</div>
<div>Ctrl+Up/Down&nbsp;光标跳转到第一行或最后一行下</div>
<div>Ctrl+B&nbsp;快速打开光标处的类或方法 <br />
</div>
<br />
<br />
<img src ="http://www.blogjava.net/yemen/aggbug/231181.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/yemen/" target="_blank">上帝也犯困</a> 2008-09-25 20:01 <a href="http://www.blogjava.net/yemen/articles/231181.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【转】myeclipse6.5快捷键修改Alt+/ </title><link>http://www.blogjava.net/yemen/articles/230979.html</link><dc:creator>上帝也犯困</dc:creator><author>上帝也犯困</author><pubDate>Wed, 24 Sep 2008 12:15:00 GMT</pubDate><guid>http://www.blogjava.net/yemen/articles/230979.html</guid><wfw:comment>http://www.blogjava.net/yemen/comments/230979.html</wfw:comment><comments>http://www.blogjava.net/yemen/articles/230979.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/yemen/comments/commentRss/230979.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/yemen/services/trackbacks/230979.html</trackback:ping><description><![CDATA[<h1><font><font size="4">在MyEclipse6.5的快捷键中把我们习惯性使用的Alt+/进行代码自动补齐的快捷键改为了ctrl+空格，大家知道这是我们切换中英文输入法的键，所以我们需要更改这个快捷键，方法如下： <br />
1.选择MyEclipse6.5菜单栏中的Window-&gt;preferences； <br />
2.选择General-&gt;keys; <br />
3.在右侧中间的窗体中点击word completion后再点击remove binding； <br />
4.然后选择Content Assist点击Remove binding，在binding中输入Alt+/； <br />
5.点击Ok就可以了。</font></font></h1>
<br />
方法很多，查了这么一种<br />
<br />
<img src ="http://www.blogjava.net/yemen/aggbug/230979.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/yemen/" target="_blank">上帝也犯困</a> 2008-09-24 20:15 <a href="http://www.blogjava.net/yemen/articles/230979.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【转】Debugging from JSP and Java Applications</title><link>http://www.blogjava.net/yemen/articles/226815.html</link><dc:creator>上帝也犯困</dc:creator><author>上帝也犯困</author><pubDate>Wed, 03 Sep 2008 17:11:00 GMT</pubDate><guid>http://www.blogjava.net/yemen/articles/226815.html</guid><wfw:comment>http://www.blogjava.net/yemen/comments/226815.html</wfw:comment><comments>http://www.blogjava.net/yemen/articles/226815.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/yemen/comments/commentRss/226815.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/yemen/services/trackbacks/226815.html</trackback:ping><description><![CDATA[Debugging from JSP and Java Applications&nbsp;<img src="http://www.laliluna.de/bilder/arrow01_bl.gif" alt="" border="0" />
<p class="ttext-western">This tutorial gives you an overview of how
to use the debugging feature of eclipse to debug  your web or Java
projects.</p>
<h1>General</h1>
<p><strong>Author</strong>:
</p>
<p>Sascha
Wolski</p>
<p>Sebastian
Hennebrueder</p>
<p class="ttext-western"><a href="http://www.laliluna.de/tutorial.html">http://www.laliluna.de/tutorial.html</a>
? Tutorials for  Struts, JSF, EJB, Hibernate, xdoclet, eclipse and
more.</p>
<p><strong>Datum</strong>:
</p>
<p class="ttext-western">January, 25 2005<br />
<strong>Development
Tools</strong></p>
<p>Eclipse
3.x
</p>
<p>MyEclipse
plugin 3.8
</p>
<p class="ttext-western">(A
cheap and quite powerful Extension to Eclipse to develop Web
Applications and EJB (J2EE) Applications. I think that there is a
test version availalable at MyEclipse.)</p>
<p><br />
</p>
<p><strong>PDF
Version des Tutorials</strong></p>
<p class="ttext-western"><a href="http://www.laliluna.de/assets/tutorials/debugging-jsp-java-tutorial-en.pdf">http://www.laliluna.de/assets/tutorials/debugging-jsp-java-tutorial-en.pdf</a></p>
<h1>Introduction</h1>
<p class="ttext-western">The Eclipse Platform features a Java
debugger that provides all standard debugging functionality,
including the ability to perform step execution, setting of
breakpoints and values, inspecting variables and values, and to
suspend and resume threads. With the extension MyEclipse you are
able to debug JSP and included files too.
</p>
<p class="ttext-western"><br />
<br />
</p>
<h1>The debug perspective</h1>
<p class="ttext-western">First we will explain the debug perspective.
You can activate the perspective under <strong>Windows &gt; Open
Perspective &gt; Other...</strong>
</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/select-perspective.gif" name="Graphic1" alt="" width="244" align="left" border="0" height="249" /><br clear="left" />
<br />
<br />
</p>
<p class="ttext-western">Alternatively, you can click on the debug
icon of the perspective tool bar.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/select-perspective-toolbar.gif" name="Graphic2" alt="" width="220" align="left" border="0" height="33" /><br clear="left" />
<br />
<br />
</p>
<h2>Debug view</h2>
<p class="ttext-western">The Debug view displays the stack trace for
the suspended threads for each target you are debugging. Each entry
is the variable state of a method right when it called the next
method. The view allows you to manage the debugging of a program in
the workbench.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/window-debug.gif" name="Graphic3" alt="" width="474" align="left" border="0" height="303" /><br clear="left" />
<br />
<br />
</p>
<h2>Variables view</h2>
<p class="ttext-western">The view displays information about the
variables in the selected class. You can get information about the
variable like value, size and more from this view.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/window-variable.gif" name="Graphic4" alt="" width="400" align="left" border="0" height="297" /><br clear="left" />
<br />
<br />
</p>
<h2 style="page-break-before: always;">Breakpoints
view</h2>
<p class="ttext-western">The view lists all breakpoints you have set
in the workbench project. In this view, you can enable or disable
breakpoints, remove them, or add a new ones. You can also
double-click a breakpoint to display its location in the editor.</p>
<p>This view also lists Java exception breakpoints,
which suspend execution at the point where the exception is thrown.
You can add or remove exceptions.
</p>
<p class="ttext-western"><br />
<br />
</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/window-breakpoints.gif" name="Graphic5" alt="" width="410" align="left" border="0" height="131" /><br clear="left" />
<br />
<br />
</p>
<h2>Expressions view</h2>
<p class="ttext-western">You can inspect data from each class of a
suspended thread, and other places in this view. It opens
automatically when an item is added to the view.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/window-expressions.gif" name="Graphic6" alt="" width="404" align="left" border="0" height="247" /><br clear="left" />
<br />
<br />
</p>
<h1>Debug a web project</h1>
<p class="ttext-western">In the next steps I will explain how you can
debug a project. I will refer to the project JSP + Servlet you can
download on our site.
<a href="http://www.laliluna.de/assets/tutorials/java-servlets-jsp-tutorial.zip">http://www.laliluna.de/assets/tutorials/java-servlets-jsp-tutorial.zip</a>
</p>
<p class="ttext-western">Open the class <strong>BookEdit.java</strong> and set
a breakpoint in the method <strong>doGet(..)</strong> at line 72. You can set a
breakpoint by double-click on the info bar on the left edge of the
editor, or right click <strong>Toggle Breakpoint</strong><span>.</span></p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/set-breakpoint-java.gif" name="Graphic7" alt="" width="584" align="left" border="0" height="157" /><br clear="left" />
<br />
<br />
</p>
<p class="ttext-western">Set the second breakpoint in the
<strong>bookEdit.jsp</strong> file on the HTML start tag at line 14.</p>
<p class="hinweis-western"><strong>Note</strong>: If you don't have installed
MyEclipse, you can't set a breakpoint in jsp and included files.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/set-breakpoint-jsp.gif" name="Graphic8" alt="" width="488" align="left" border="0" height="203" /><br clear="left" />
<br />
<br />
</p>
<p class="ttext-western">To see all breakpoints you can use the
Breakpoints view in the debug perspective.
</p>
<h2>Breakpoint Properties</h2>
<p class="ttext-western">You can apply some properties to each
breakpoint, for example how many times a breakpoint can hit before it
suspends the thread or on which condition it suspends the thread.</p>
<p class="ttext-western">Select the breakpoint right mouse button and
choose the option <strong>Breakpoint Properties</strong>.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/debug-breakpoint-properties-open.gif" name="Graphic21" alt="" width="216" align="left" border="0" height="100" /><br clear="left" />
<br />
<br />
</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/debug-breakpoint-properties.gif" name="Graphic20" alt="" width="552" align="left" border="0" height="469" /><br clear="left" />
<br />
<br />
</p>
<h3><br />
<br />
</h3>
<h3>Hit Count</h3>
<p class="ttext-western">The hit count sets a number of times the
breakpoint can be executed before the thread suspends. Very helpful
in a loop expression or if you want to know the value of a expression
after some hits.</p>
<h3>Enable Condition</h3>
<p class="ttext-western">There are two options to suspend a thread by
using a condition.
</p>
<ul>
    <li>
    <p class="ttext-western">if the enabled condition is true</p>
    </li>
    <li>
    <p class="ttext-western">if the enabled condition changes</p>
    </li>
</ul>
<p class="ttext-western">If you want that the condition suspends the
thread when it is true select the option <strong>condition is true</strong> on
<strong>Suspend when</strong><span>.</span></p>
<p class="ttext-western">Example:</p>
<pre>action.equals("edit");</pre>
<p class="ttext-western">
<br />
<br />
</p>
<p class="ttext-western">If you want that the condition suspends the
thread when the value of the condition changes select the option
<strong>value of the condition </strong><span>changes
on </span><strong>Suspend when</strong><span><span style="font-style: normal;">.</span></span></p>
<p class="ttext-western"><br />
<br />
</p>
<h3><br />
<br />
</h3>
<h3 style="page-break-before: always;">Suspend Policy</h3>
<p class="ttext-western">You can define if the breakpoint suspends
only the thread or the complete virtual machine.</p>
<h2>Deploy and Debug</h2>
<p class="ttext-western">Now we want to debug the project, so deploy
it and call it in your web browser. <br />
Choose <strong>Edit</strong> on the
list of books.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/edit-book.gif" name="Graphic9" alt="" width="456" align="left" border="0" height="228" /><br clear="left" />
<br />
<br />
</p>
<p class="ttext-western">After you clicked the <strong>Edit</strong> link,
eclipse shows you the following confirm window.  You can choose if
you want to switch to the debug perspective. Yes, you want it<strong> ;- )</strong></p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/switch-to-debug-perspective.gif" name="Graphic10" alt="" width="457" align="left" border="0" height="191" /><br clear="left" />
<br />
<br />
</p>
<p class="ttext-western" style="page-break-before: always;">The first
entry in the debug view represents the state of the method where the
breakpoint was set. You can preview the state of a entry simply by
clicking on it, also the file will be open where the method is
placed.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/debug-view-current-frame.gif" name="Graphic11" alt="" width="435" align="left" border="0" height="162" /><br clear="left" />
<br />
<br />
</p>
<p class="ttext-western">You can see the values of all variables of
the selected entry in the Variables view.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/debug-variables-view.gif" name="Graphic17" alt="" width="391" align="left" border="0" height="256" /><br clear="left" />
<br />
<br />
</p>
<p class="ttext-western">A marked line and an arrow at the breakpoint
shows that the debugger is suspended on this line.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/debug-editor.gif" name="Graphic12" alt="" width="355" align="left" border="0" height="183" /><br clear="left" />
<br />
<br />
</p>
<p class="hinweis-western">If you've decided that you missed an
important place in the execution process, perhaps the breakpoint was
in the wrong place, or maybe you accidentally stepped over some code
you wanted to inspect earlier in the process. Eclipse has a feature
called <strong>Drop to frame</strong><span>, that
essentially lets you 'rewind' the execution to the beginning of any
method in the stack. This is especially useful when you perform
variable modification or code hot swapping.<br />
Right click on the
frame and choose the option </span><strong>Drop to Frame</strong><span>.</span></p>
<p class="ttext-western"><br />
<br />
</p>
<h2><br />
<br />
</h2>
<h2 style="page-break-before: always;">Inspect
expressions</h2>
<p class="ttext-western">To get informations about expression, you
can inspect a expression. Right click on the marked expression, you
want to inspect and choose <strong>Inspect</strong><span>
or press </span><strong>Ctrl + Shift + I</strong><span>.
A pop-up window appears that holds the informations about the
expression. </span>
</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/debug-inspect.gif" name="Graphic13" alt="" width="389" align="left" border="0" height="207" /><br clear="left" />
<br />
<br />
</p>
<h2><br />
<br />
</h2>
<h2>Watch expressions</h2>
<p class="ttext-western">Watch is similar to inspect an expression.
Watch means that the expression will be added to the Expressions
view, where you can watch the informations about the expression. Add
two expressions to the Expressions view.
</p>
<p class="ttext-western">Mark the expressions, right click and choose
<strong>Watch</strong>.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/debug-watch.gif" name="Graphic14" alt="" width="537" align="left" border="0" height="179" /><br clear="left" />
<br />
<br />
</p>
<p class="ttext-western">Now the two expression are in the
Expressions view.</p>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/debug-expression-view.gif" name="Graphic15" alt="" width="428" align="left" border="0" height="158" /><br clear="left" />
<br />
<br />
</p>
<h2><br />
<br />
</h2>
<h2 style="page-break-before: always;">Display
expressions</h2>
<p class="ttext-western">If you want to display the type and the
value of an expression, mark the expression and choose  the <strong>Display</strong>
option from the context menu (right mouse button) or press <strong>Ctrl +
Shift + D</strong>.
</p>
<h2><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/debug-display.gif" name="Graphic16" alt="" width="275" align="left" border="0" height="127" /><br clear="left" />
Run
to Line</h2>
<p class="ttext-western">If you set a breakpoint and somewhere under
the breakpoint is a line you want to go, you can use the option <strong>Run
to Line</strong>. The code between the breakpoint and the selected line
will be executed. Select the line you want to go, press the right
mouse button and choose  the option <strong>Run to Line</strong><span>
or use the key binding </span><strong>Ctrl + R</strong><span>.</span></p>
<h2><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/debug-run-to-line.gif" name="Graphic18" alt="" width="636" align="left" border="0" height="302" /><br clear="left" />
Debugging
JSP files (supported by MyEclipse)</h2>
<p class="ttext-western"><img src="http://www.laliluna.de/assets/images/tutorials/debugging-jsp-java-tutorial/debug-jsp-variable-view.gif" name="Graphic19" alt="" width="384" align="left" border="0" height="208" /><br clear="left" />
Debugging
a JSP file is the same like debugging a Java class, but the most
features (Watch, Inspect, etc) are not implemented. The only way to
get the values of variables is the Variables view.</p>
<p class="ttext-western"><br />
<br />
</p>
<p class="ttext-western">That's it. You will only need to debug, when
you make mistakes. Avoid them and forget the tutorial.</p>
<p class="ttext-western">文章来源：http://www.laliluna.de/debugging-jsp-java-tutorial.html<br />
</p>
<img src ="http://www.blogjava.net/yemen/aggbug/226815.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/yemen/" target="_blank">上帝也犯困</a> 2008-09-04 01:11 <a href="http://www.blogjava.net/yemen/articles/226815.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【转】Eclipse单步调式技巧</title><link>http://www.blogjava.net/yemen/articles/226542.html</link><dc:creator>上帝也犯困</dc:creator><author>上帝也犯困</author><pubDate>Tue, 02 Sep 2008 17:12:00 GMT</pubDate><guid>http://www.blogjava.net/yemen/articles/226542.html</guid><wfw:comment>http://www.blogjava.net/yemen/comments/226542.html</wfw:comment><comments>http://www.blogjava.net/yemen/articles/226542.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/yemen/comments/commentRss/226542.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/yemen/services/trackbacks/226542.html</trackback:ping><description><![CDATA[http://hi.baidu.com/sun1211/blog/item/8c6f762a77b4013e5243c14a.html<br />
<br />
<div class="tit">eclipse单步调试技巧</div>
<div class="date">&nbsp;</div>
<table style="table-layout: fixed">
    <tbody>
        <tr>
            <td>
            <div class="cnt" id="blog_text">
            <p style="text-indent: 2em">作用域 功能 快捷键</p>
            <p style="text-indent: 2em">全局 查找并替换 Ctrl+F</p>
            <p style="text-indent: 2em">文本编辑器 查找上一个 Ctrl+Shift+K</p>
            <p style="text-indent: 2em">文本编辑器 查找下一个 Ctrl+K</p>
            <p style="text-indent: 2em">全局 撤销 Ctrl+Z</p>
            <p style="text-indent: 2em">全局 复制 Ctrl+C</p>
            <p style="text-indent: 2em">全局 恢复上一个选择 Alt+Shift+&#8595;</p>
            <p style="text-indent: 2em">全局 剪切 Ctrl+X</p>
            <p style="text-indent: 2em">全局 快速修正 Ctrl1+1</p>
            <p style="text-indent: 2em">全局 内容辅助 Alt+/</p>
            <p style="text-indent: 2em">全局 全部选中 Ctrl+A</p>
            <p style="text-indent: 2em">全局 删除 Delete</p>
            <p style="text-indent: 2em">全局 上下文信息 Alt+？</p>
            <p style="text-indent: 2em">Alt+Shift+?</p>
            <p style="text-indent: 2em">Ctrl+Shift+Space</p>
            <p style="text-indent: 2em"><a href="http://dev.21tx.com/java/" target="_blank"><font color="#42495b">Java</font></a>编辑器 显示工具提示描述 F2</p>
            <p style="text-indent: 2em">Java编辑器 选择封装元素 Alt+Shift+&#8593;</p>
            <p style="text-indent: 2em">Java编辑器 选择上一个元素 Alt+Shift+&#8592;</p>
            <p style="text-indent: 2em">Java编辑器 选择下一个元素 Alt+Shift+&#8594;</p>
            <p style="text-indent: 2em">文本编辑器 增量查找 Ctrl+J</p>
            <p style="text-indent: 2em">文本编辑器 增量逆向查找 Ctrl+Shift+J</p>
            <p style="text-indent: 2em">全局 粘贴 Ctrl+V</p>
            <p style="text-indent: 2em">全局 重做 Ctrl+Y</p>
            <p style="text-indent: 2em">查看</p>
            <p style="text-indent: 2em">作用域 功能 快捷键</p>
            <p style="text-indent: 2em">全局 放大 Ctrl+=</p>
            <p style="text-indent: 2em">全局 缩小 Ctrl+-</p>
            <p style="text-indent: 2em">窗口</p>
            <p style="text-indent: 2em">作用域 功能 快捷键</p>
            <p style="text-indent: 2em">全局 激活编辑器 F12</p>
            <p style="text-indent: 2em">全局 切换编辑器 Ctrl+Shift+W</p>
            <p style="text-indent: 2em">全局 上一个编辑器 Ctrl+Shift+F6</p>
            <p style="text-indent: 2em">全局 上一个视图 Ctrl+Shift+F7</p>
            <p style="text-indent: 2em">全局 上一个透视图 Ctrl+Shift+F8</p>
            <p style="text-indent: 2em">全局 下一个编辑器 Ctrl+F6</p>
            <p style="text-indent: 2em">全局 下一个视图 Ctrl+F7</p>
            <p style="text-indent: 2em">全局 下一个透视图 Ctrl+F8</p>
            <p style="text-indent: 2em">文本编辑器 显示标尺上下文菜单 Ctrl+W</p>
            <p style="text-indent: 2em">全局 显示视图菜单 Ctrl+F10</p>
            <p style="text-indent: 2em">全局 显示系统菜单 Alt+-</p>
            <p style="text-indent: 2em">导航</p>
            <p style="text-indent: 2em">作用域 功能 快捷键</p>
            <p style="text-indent: 2em">Java编辑器 打开结构 Ctrl+F3</p>
            <p style="text-indent: 2em">全局 打开类型 Ctrl+Shift+T</p>
            <p style="text-indent: 2em">全局 打开类型层次结构 F4</p>
            <p style="text-indent: 2em">全局 打开声明 F3</p>
            <p style="text-indent: 2em">全局 打开外部javadoc Shift+F2</p>
            <p style="text-indent: 2em">全局 打开资源 Ctrl+Shift+R</p>
            <p style="text-indent: 2em">全局 后退历史记录 Alt+&#8592;</p>
            <p style="text-indent: 2em">全局 前进历史记录 Alt+&#8594;</p>
            <p style="text-indent: 2em">全局 上一个 Ctrl+,</p>
            <p style="text-indent: 2em">全局 下一个 Ctrl+.</p>
            <p style="text-indent: 2em">Java编辑器 显示大纲 Ctrl+O</p>
            <p style="text-indent: 2em">全局 在层次结构中打开类型 Ctrl+Shift+H</p>
            <p style="text-indent: 2em">全局 转至匹配的括号 Ctrl+Shift+P</p>
            <p style="text-indent: 2em">全局 转至上一个编辑位置 Ctrl+Q</p>
            <p style="text-indent: 2em">Java编辑器 转至上一个成员 Ctrl+Shift+&#8593;</p>
            <p style="text-indent: 2em">Java编辑器 转至下一个成员 Ctrl+Shift+&#8595;</p>
            <p style="text-indent: 2em">文本编辑器 转至行 Ctrl+L</p>
            <p style="text-indent: 2em"></p>
            <p style="text-indent: 2em">搜索</p>
            <p style="text-indent: 2em">作用域 功能 快捷键</p>
            <p style="text-indent: 2em">全局 出现在文件中 Ctrl+Shift+U</p>
            <p style="text-indent: 2em">全局 打开搜索对话框 Ctrl+H</p>
            <p style="text-indent: 2em">全局 工作区中的声明 Ctrl+G</p>
            <p style="text-indent: 2em">全局 工作区中的引用 Ctrl+Shift+G</p>
            <p style="text-indent: 2em"></p>
            <p style="text-indent: 2em">文本编辑</p>
            <p style="text-indent: 2em">作用域 功能 快捷键</p>
            <p style="text-indent: 2em">文本编辑器 改写切换 Insert</p>
            <p style="text-indent: 2em">文本编辑器 上滚行 Ctrl+&#8593;</p>
            <p style="text-indent: 2em">文本编辑器 下滚行 Ctrl+&#8595;</p>
            <p style="text-indent: 2em"></p>
            <p style="text-indent: 2em">文件</p>
            <p style="text-indent: 2em">作用域 功能 快捷键</p>
            <p style="text-indent: 2em">全局 保存 Ctrl+X</p>
            <p style="text-indent: 2em">Ctrl+S</p>
            <p style="text-indent: 2em">全局 打印 Ctrl+P</p>
            <p style="text-indent: 2em">全局 关闭 Ctrl+F4</p>
            <p style="text-indent: 2em">全局 全部保存 Ctrl+Shift+S</p>
            <p style="text-indent: 2em">全局 全部关闭 Ctrl+Shift+F4</p>
            <p style="text-indent: 2em">全局 属性 Alt+Enter</p>
            <p style="text-indent: 2em">全局 新建 Ctrl+N</p>
            <p style="text-indent: 2em"></p>
            <p style="text-indent: 2em"></p>
            <p style="text-indent: 2em">项目</p>
            <p style="text-indent: 2em">作用域 功能 快捷键</p>
            <p style="text-indent: 2em">全局 全部构建 Ctrl+B</p>
            <p style="text-indent: 2em"></p>
            <p style="text-indent: 2em"></p>
            <p style="text-indent: 2em">源代码</p>
            <p style="text-indent: 2em">作用域 功能 快捷键</p>
            <p style="text-indent: 2em">Java编辑器 格式化 Ctrl+Shift+F</p>
            <p style="text-indent: 2em">Java编辑器 取消注释 Ctrl+\</p>
            <p style="text-indent: 2em">Java编辑器 注释 Ctrl+/</p>
            <p style="text-indent: 2em">Java编辑器 添加导入 Ctrl+Shift+M</p>
            <p style="text-indent: 2em">Java编辑器 组织导入 Ctrl+Shift+O</p>
            <p style="text-indent: 2em">Java编辑器 使用try/catch块来包围 未设置，太常用了，所以在这里列出,建议自己设置。</p>
            <p style="text-indent: 2em">也可以使用Ctrl+1自动修正。</p>
            <p style="text-indent: 2em"></p>
            <p style="text-indent: 2em">运行</p>
            <p style="text-indent: 2em">作用域 功能 快捷键</p>
            <p style="text-indent: 2em">全局 单步返回 F7</p>
            <p style="text-indent: 2em">全局 单步跳过 F6</p>
            <p style="text-indent: 2em">全局 单步跳入 F5</p>
            <p style="text-indent: 2em">全局 单步跳入选择 Ctrl+F5</p>
            <p style="text-indent: 2em">全局 调试上次启动 F11</p>
            <p style="text-indent: 2em">全局 继续 F8</p>
            <p style="text-indent: 2em">全局 使用过滤器单步执行 Shift+F5</p>
            <p style="text-indent: 2em">全局 添加/去除断点 Ctrl+Shift+B</p>
            <p style="text-indent: 2em">全局 显示 Ctrl+D</p>
            <p style="text-indent: 2em">全局 运行上次启动 Ctrl+F11</p>
            <p style="text-indent: 2em">全局 运行至行 Ctrl+R</p>
            <p style="text-indent: 2em">全局 执行 Ctrl+U</p>
            <p style="text-indent: 2em"></p>
            <p style="text-indent: 2em"></p>
            <p style="text-indent: 2em">重构</p>
            <p style="text-indent: 2em">作用域 功能 快捷键</p>
            <p style="text-indent: 2em">全局 撤销重构 Alt+Shift+Z</p>
            <p style="text-indent: 2em">全局 抽取方法 Alt+Shift+M</p>
            <p style="text-indent: 2em">全局 抽取局部变量 Alt+Shift+L</p>
            <p style="text-indent: 2em">全局 内联 Alt+Shift+I</p>
            <p style="text-indent: 2em">全局 移动 Alt+Shift+V</p>
            <p style="text-indent: 2em">全局 重命名 Alt+Shift+R</p>
            <p style="text-indent: 2em">全局 重做 Alt+Shift+Y</p>
            </div>
            </td>
        </tr>
    </tbody>
</table>
<img src ="http://www.blogjava.net/yemen/aggbug/226542.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/yemen/" target="_blank">上帝也犯困</a> 2008-09-03 01:12 <a href="http://www.blogjava.net/yemen/articles/226542.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>