代码拉取完成,页面将自动刷新
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>debugger - Vim Documentation</title>
<meta name="Generator" content="Vim/8.0">
<meta name="plugin-version" content="vim8.0">
<meta name="syntax" content="help">
<meta name="settings" content="no_pre,use_css,expand_tabs">
<link rel="stylesheet" href="style.css" type="text/css" />
<script src="jquery.min.js" type="text/javascript"></script>
<script src="mark-current-page.js" type="text/javascript"></script>
</head>
<body>
<header>
<div class="header">
<a href="http://vim-jp.org/">vim-jp</a>
/ <a href="http://vim-jp.org/vimdoc-en/">vimdoc-en</a>
/ debugger<br />
<a name="top"></a><h1>debugger - Vim Documentation</h1>
<a href="index.html">Return to main</a>
<span class="EnglishJapaneseLink">
<span class="CurrentLanguage">English</span>
</span>
</div>
</header>
<nav>
<dl>
<dt>BASIC</dt>
<dd><ul>
<li><a href="quickref.html">quickref</a></li>
<li><a href="sponsor.html">sponsor</a></li>
</ul></dd>
<dt>USER MANUAL</dt>
<dd><ul>
<li><a href="usr_toc.html">usr_toc</a></li>
</ul></dd>
<dt>Getting Started</dt>
<dd><ul>
<li><a href="usr_01.html">usr_01</a></li>
<li><a href="usr_02.html">usr_02</a></li>
<li><a href="usr_03.html">usr_03</a></li>
<li><a href="usr_04.html">usr_04</a></li>
<li><a href="usr_05.html">usr_05</a></li>
<li><a href="usr_06.html">usr_06</a></li>
<li><a href="usr_07.html">usr_07</a></li>
<li><a href="usr_08.html">usr_08</a></li>
<li><a href="usr_09.html">usr_09</a></li>
<li><a href="usr_10.html">usr_10</a></li>
<li><a href="usr_11.html">usr_11</a></li>
<li><a href="usr_12.html">usr_12</a></li>
</ul></dd>
<dt>Editing Effectively</dt>
<dd><ul>
<li><a href="usr_20.html">usr_20</a></li>
<li><a href="usr_21.html">usr_21</a></li>
<li><a href="usr_22.html">usr_22</a></li>
<li><a href="usr_23.html">usr_23</a></li>
<li><a href="usr_24.html">usr_24</a></li>
<li><a href="usr_25.html">usr_25</a></li>
<li><a href="usr_26.html">usr_26</a></li>
<li><a href="usr_27.html">usr_27</a></li>
<li><a href="usr_28.html">usr_28</a></li>
<li><a href="usr_29.html">usr_29</a></li>
<li><a href="usr_30.html">usr_30</a></li>
<li><a href="usr_31.html">usr_31</a></li>
<li><a href="usr_32.html">usr_32</a></li>
</ul></dd>
<dt>Tuning Vim</dt>
<dd><ul>
<li><a href="usr_40.html">usr_40</a></li>
<li><a href="usr_41.html">usr_41</a></li>
<li><a href="usr_42.html">usr_42</a></li>
<li><a href="usr_43.html">usr_43</a></li>
<li><a href="usr_44.html">usr_44</a></li>
<li><a href="usr_45.html">usr_45</a></li>
</ul></dd>
<dt>Making Vim Run</dt>
<dd><ul>
<li><a href="usr_90.html">usr_90</a></li>
</ul></dd>
<dt>General subjects</dt>
<dd><ul>
<li><a href="intro.html">intro</a></li>
<li><a href="index.html">help</a></li>
<li><a href="helphelp.html">helphelp</a></li>
<li><a href="vimindex.html">index</a></li>
<li><a href="tags.html">tags</a></li>
<li><a href="howto.html">howto</a></li>
<li><a href="tips.html">tips</a></li>
<li><a href="message.html">message</a></li>
<li><a href="quotes.html">quotes</a></li>
<li><a href="todo.html">todo</a></li>
<li><a href="debug.html">debug</a></li>
<li><a href="develop.html">develop</a></li>
<li><a href="uganda.html">uganda</a></li>
</ul></dd>
<dt>Basic editing</dt>
<dd><ul>
<li><a href="starting.html">starting</a></li>
<li><a href="editing.html">editing</a></li>
<li><a href="motion.html">motion</a></li>
<li><a href="scroll.html">scroll</a></li>
<li><a href="insert.html">insert</a></li>
<li><a href="change.html">change</a></li>
<li><a href="indent.html">indent</a></li>
<li><a href="undo.html">undo</a></li>
<li><a href="repeat.html">repeat</a></li>
<li><a href="visual.html">visual</a></li>
<li><a href="various.html">various</a></li>
<li><a href="recover.html">recover</a></li>
</ul></dd>
<dt>Advanced editing</dt>
<dd><ul>
<li><a href="cmdline.html">cmdline</a></li>
<li><a href="options.html">options</a></li>
<li><a href="pattern.html">pattern</a></li>
<li><a href="map.html">map</a></li>
<li><a href="tagsrch.html">tagsrch</a></li>
<li><a href="quickfix.html">quickfix</a></li>
<li><a href="windows.html">windows</a></li>
<li><a href="tabpage.html">tabpage</a></li>
<li><a href="syntax.html">syntax</a></li>
<li><a href="spell.html">spell</a></li>
<li><a href="diff.html">diff</a></li>
<li><a href="autocmd.html">autocmd</a></li>
<li><a href="filetype.html">filetype</a></li>
<li><a href="eval.html">eval</a></li>
<li><a href="channel.html">channel</a></li>
<li><a href="fold.html">fold</a></li>
</ul></dd>
<dt>Special issues</dt>
<dd><ul>
<li><a href="print.html">print</a></li>
<li><a href="remote.html">remote</a></li>
<li><a href="term.html">term</a></li>
<li><a href="digraph.html">digraph</a></li>
<li><a href="mbyte.html">mbyte</a></li>
<li><a href="mlang.html">mlang</a></li>
<li><a href="arabic.html">arabic</a></li>
<li><a href="farsi.html">farsi</a></li>
<li><a href="hebrew.html">hebrew</a></li>
<li><a href="russian.html">russian</a></li>
<li><a href="ft_ada.html">ft_ada</a></li>
<li><a href="ft_sql.html">ft_sql</a></li>
<li><a href="hangulin.html">hangulin</a></li>
<li><a href="rileft.html">rileft</a></li>
</ul></dd>
<dt>GUI</dt>
<dd><ul>
<li><a href="gui.html">gui</a></li>
<li><a href="gui_w32.html">gui_w32</a></li>
<li><a href="gui_x11.html">gui_x11</a></li>
</ul></dd>
<dt>Interfaces</dt>
<dd><ul>
<li><a href="if_cscop.html">if_cscop</a></li>
<li><a href="if_lua.html">if_lua</a></li>
<li><a href="if_mzsch.html">if_mzsch</a></li>
<li><a href="if_perl.html">if_perl</a></li>
<li><a href="if_pyth.html">if_pyth</a></li>
<li><a href="if_tcl.html">if_tcl</a></li>
<li><a href="if_ole.html">if_ole</a></li>
<li><a href="if_ruby.html">if_ruby</a></li>
<li><a href="debugger.html">debugger</a></li>
<li><a href="workshop.html">workshop</a></li>
<li><a href="netbeans.html">netbeans</a></li>
<li><a href="sign.html">sign</a></li>
</ul></dd>
<dt>Versions</dt>
<dd><ul>
<li><a href="vi_diff.html">vi_diff</a></li>
<li><a href="version4.html">version4</a></li>
<li><a href="version5.html">version5</a></li>
<li><a href="version6.html">version6</a></li>
<li><a href="version7.html">version7</a></li>
<li><a href="version8.html">version8</a></li>
</ul></dd>
<dt>Remarks about specific systems</dt>
<dd><ul>
<li><a href="os_390.html">os_390</a></li>
<li><a href="os_amiga.html">os_amiga</a></li>
<li><a href="os_beos.html">os_beos</a></li>
<li><a href="os_dos.html">os_dos</a></li>
<li><a href="os_mac.html">os_mac</a></li>
<li><a href="os_mint.html">os_mint</a></li>
<li><a href="os_msdos.html">os_msdos</a></li>
<li><a href="os_os2.html">os_os2</a></li>
<li><a href="os_qnx.html">os_qnx</a></li>
<li><a href="os_risc.html">os_risc</a></li>
<li><a href="os_unix.html">os_unix</a></li>
<li><a href="os_vms.html">os_vms</a></li>
<li><a href="os_win32.html">os_win32</a></li>
</ul></dd>
<dt>Standard plugins</dt>
<dd><ul>
<li><a href="pi_getscript.html">pi_getscript</a></li>
<li><a href="pi_gzip.html">pi_gzip</a></li>
<li><a href="pi_logipat.html">pi_logipat</a></li>
<li><a href="pi_netrw.html">pi_netrw</a></li>
<li><a href="pi_paren.html">pi_paren</a></li>
<li><a href="pi_tar.html">pi_tar</a></li>
<li><a href="pi_vimball.html">pi_vimball</a></li>
<li><a href="pi_zip.html">pi_zip</a></li>
</ul></dd>
<dt>Filetype plugins</dt>
<dd><ul>
<li><a href="pi_spec.html">pi_spec</a></li>
</ul></dd>
<dt>Others</dt>
<dd><ul>
<li><a href="vim_faq.html">vim_faq</a></li>
</ul></dd>
</dl>
</nav>
<article class="Vimdoc VimdocJa">
<div id='vimCodeElement'>
<a class="Constant" href="debugger.html" name="debugger.txt">debugger.txt</a> For <span class="Identifier">Vim version 8.0.</span> Last change: 2005 Mar 29<br>
<br>
<br>
<span class="Identifier">VIM REFERENCE MANUAL by Gordon Prieur</span><br>
<br>
<br>
Debugger Support Features <a class="Constant" href="debugger.html#debugger-support" name="debugger-support">debugger-support</a><br>
<br>
1. Debugger Features <a class="Identifier" href="debugger.html#debugger-features">debugger-features</a><br>
2. Vim Compile Options <a class="Identifier" href="debugger.html#debugger-compilation">debugger-compilation</a><br>
3. Integrated Debuggers <a class="Identifier" href="debugger.html#debugger-integration">debugger-integration</a><br>
<br>
<span class="Special">{Vi does not have any of these features}</span><br>
<br>
<span class="PreProc">==============================================================================</span><br>
1. Debugger Features <a class="Constant" href="debugger.html#debugger-features" name="debugger-features">debugger-features</a><br>
<br>
The following features are available for an integration with a debugger or<br>
an Integrated Programming Environment (IPE) or Integrated Development<br>
Environment (IDE):<br>
<br>
Alternate Command Input <a class="Identifier" href="debugger.html#alt-input">alt-input</a><br>
Debug Signs <a class="Identifier" href="debugger.html#debug-signs">debug-signs</a><br>
Debug Source Highlight <a class="Identifier" href="debugger.html#debug-highlight">debug-highlight</a><br>
Message Footer <a class="Identifier" href="debugger.html#gui-footer">gui-footer</a><br>
Balloon Evaluation <a class="Identifier" href="debugger.html#balloon-eval">balloon-eval</a><br>
<br>
These features were added specifically for use in the Motif version of gvim.<br>
However, the <a class="Identifier" href="debugger.html#alt-input">alt-input</a> and <a class="Identifier" href="debugger.html#debug-highlight">debug-highlight</a> were written to be usable in<br>
both vim and gvim. Some of the other features could be used in the non-GUI<br>
vim with slight modifications. However, I did not do this nor did I test the<br>
reliability of building for vim or non Motif GUI versions.<br>
<br>
<br>
1.1 Alternate Command Input <a class="Constant" href="debugger.html#alt-input" name="alt-input">alt-input</a><br>
<br>
For Vim to work with a debugger there must be at least an input connection<br>
with a debugger or external tool. In many cases there will also be an output<br>
connection but this isn't absolutely necessary.<br>
<br>
The purpose of the input connection is to let the external debugger send<br>
commands to Vim. The commands sent by the debugger should give the debugger<br>
enough control to display the current debug environment and state.<br>
<br>
The current implementation is based on the X Toolkit dispatch loop and the<br>
XtAddInput() function call.<br>
<br>
<br>
1.2 Debug Signs <a class="Constant" href="debugger.html#debug-signs" name="debug-signs">debug-signs</a><br>
<br>
Many debuggers mark specific lines by placing a small sign or color highlight<br>
on the line. The <a class="Identifier" href="sign.html#:sign">:sign</a> command lets the debugger set this graphic mark. Some<br>
examples where this feature would be used would be a debugger showing an arrow<br>
representing the Program Counter (PC) of the program being debugged. Another<br>
example would be a small stop sign for a line with a breakpoint. These visible<br>
highlights let the user keep track of certain parts of the state of the<br>
debugger.<br>
<br>
This feature can be used with more than debuggers, too. An IPE can use a sign<br>
to highlight build errors, searched text, or other things. The sign feature<br>
can also work together with the <a class="Identifier" href="debugger.html#debug-highlight">debug-highlight</a> to ensure the mark is<br>
highly visible.<br>
<br>
Debug signs are defined and placed using the <a class="Identifier" href="sign.html#:sign">:sign</a> command.<br>
<br>
<br>
1.3 Debug Source Highlight <a class="Constant" href="debugger.html#debug-highlight" name="debug-highlight">debug-highlight</a><br>
<br>
This feature allows a line to have a predominant highlight. The highlight is<br>
intended to make a specific line stand out. The highlight could be made to<br>
work for both vim and gvim, whereas the debug sign is, in most cases, limited<br>
to gvim. The one exception to this is Sun Microsystem's dtterm. The dtterm<br>
from Sun has a "sign gutter" for showing signs.<br>
<br>
<br>
1.4 Message Footer <a class="Constant" href="debugger.html#gui-footer" name="gui-footer">gui-footer</a><br>
<br>
The message footer can be used to display messages from a debugger or IPE. It<br>
can also be used to display menu and toolbar tips. The footer area is at the<br>
bottom of the GUI window, below the line used to display colon commands.<br>
<br>
The display of the footer is controlled by the <a class="Type" href="options.html#'guioptions'">'guioptions'</a> letter 'F'.<br>
<br>
<br>
1.5 Balloon Evaluation <a class="Constant" href="debugger.html#balloon-eval" name="balloon-eval">balloon-eval</a><br>
<br>
This feature allows a debugger, or other external tool, to display dynamic<br>
information based on where the mouse is pointing. The purpose of this feature<br>
was to allow Sun's Visual WorkShop debugger to display expression evaluations.<br>
However, the feature was implemented in as general a manner as possible and<br>
could be used for displaying other information as well.<br>
<br>
The Balloon Evaluation has some settable parameters too. For Motif the font<br>
list and colors can be set via X resources (XmNballoonEvalFontList,<br>
XmNballoonEvalBackground, and XmNballoonEvalForeground).<br>
The <a class="Type" href="options.html#'balloondelay'">'balloondelay'</a> option sets the delay before an attempt is made to show a<br>
balloon.<br>
The <a class="Type" href="options.html#'ballooneval'">'ballooneval'</a> option needs to be set to switch it on.<br>
<br>
Balloon evaluation is only available when compiled with the <a class="Identifier" href="various.html#+balloon_eval">+balloon_eval</a><br>
feature.<br>
<br>
The Balloon evaluation functions are also used to show a tooltip for the<br>
toolbar. The <a class="Type" href="options.html#'ballooneval'">'ballooneval'</a> option does not need to be set for this. But the<br>
other settings apply.<br>
<br>
Another way to use the balloon is with the <a class="Type" href="options.html#'balloonexpr'">'balloonexpr'</a> option. This is<br>
completely user definable.<br>
<br>
<span class="PreProc">==============================================================================</span><br>
2. Vim Compile Options <a class="Constant" href="debugger.html#debugger-compilation" name="debugger-compilation">debugger-compilation</a><br>
<br>
The debugger features were added explicitly for use with Sun's Visual<br>
WorkShop Integrated Programming Environment (ipe). However, they were done<br>
in as generic a manner as possible so that integration with other debuggers<br>
could also use some or all of the tools used with Sun's ipe.<br>
<br>
The following compile time preprocessor variables control the features:<br>
<br>
Alternate Command Input ALT_X_INPUT<br>
Debug Glyphs FEAT_SIGNS<br>
Debug Highlights FEAT_SIGNS<br>
Message Footer FEAT_FOOTER<br>
Balloon Evaluation FEAT_BEVAL<br>
<br>
The first integration with a full IPE/IDE was with Sun Visual WorkShop. To<br>
compile a gvim which interfaces with VWS set the following flag, which sets<br>
all the above flags:<br>
<br>
Sun Visual WorkShop FEAT_SUN_WORKSHOP<br>
<br>
<span class="PreProc">==============================================================================</span><br>
3. Integrated Debuggers <a class="Constant" href="debugger.html#debugger-integration" name="debugger-integration">debugger-integration</a><br>
<br>
One fully integrated debugger/IPE/IDE is Sun's Visual WorkShop Integrated<br>
Programming Environment.<br>
<br>
For Sun NetBeans support see <a class="Identifier" href="netbeans.html#netbeans">netbeans</a>.<br>
<br>
vim:tw=78:sw=4:ts=8:ft=help:norl:<br>
</div>
</article>
<footer>
<a href="#top">Return to the top</a> - <a href="index.html">Return to main</a>
<span class="EnglishJapaneseLink">
<span class="CurrentLanguage">English</span>
</span>
<br />
<div style="text-align:right;">
Hosted by <a href="https://github.com/vim-jp/vimdoc-en">vimdoc-en project</a><br />
If you met any problem, please report it to <a href="https://github.com/vim-jp/vimdoc-en/issues">issue</a>.<br />
</div>
</footer>
<!--<script src="js/check-referrer.js" type="text/javascript"></script>-->
</body>
</html>
<!-- vim:set ts=8 sts=2 sw=2 tw=0 et: -->
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。