mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00

- add org.eclipse.cdt.debug.application plugin which supports running CDT debugger as Eclipse application - add org.eclipse.cdt.debug.application.docs plugin which is the modified CDT docs - add org.eclipse.cdt.debug.standalone-feature which bundles the two aforementioned plugins - add org.eclipse.cdt.debug.standlone.source-feature Change-Id: I1a1ae855ab3912e678b7d9e3465e2fbbfe949e13 Reviewed-on: https://git.eclipse.org/r/25845 Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>
89 lines
No EOL
3.4 KiB
HTML
89 lines
No EOL
3.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Debug information</title>
|
|
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
</head>
|
|
|
|
<body>
|
|
<div role="main">
|
|
<h1>Debug information</h1>
|
|
|
|
<p>When using the Stand-alone Debugger, you will be using the <strong>Debug</strong>
|
|
perspective. The <strong>Debug</strong> perspective lets you manage the debugging or running of a program
|
|
in the Eclipse Workbench. You can control the execution of your program by setting
|
|
breakpoints, suspending launched programs, stepping through your code, and
|
|
examining the contents of variables.</p>
|
|
<p> The <strong>Debug</strong> perspective displays the following information:</p>
|
|
|
|
<ul>
|
|
<li>The stack frame for the suspended threads
|
|
for each target that you are debugging</li>
|
|
<li>Each thread in your program represented as a node in the tree</li>
|
|
<li>The process for each program that you are running</li>
|
|
</ul>
|
|
<p>The <strong>Debug</strong> perspective also drives the <strong>C/C++ Editor</strong>. As you step
|
|
through your program, the <strong>C/C++ Editor</strong> highlights the location of the
|
|
execution pointer. </p>
|
|
|
|
<h2>Variables</h2>
|
|
|
|
<p>You can view information about the variables in a selected stack frame in the
|
|
Variables view. When execution stops, the changed values are
|
|
by default highlighted in red. Like the other debug-related views, the Variables view does
|
|
not refresh as you run your executable. A refresh occurs when execution stops.</p>
|
|
|
|
<h2>Expressions</h2>
|
|
|
|
<p>An expression is a snippet of code that can be evaluated to produce a result.
|
|
The context for an expression depends on the particular debug model. Some
|
|
expressions may need to be evaluated at a specific location in the program so
|
|
that the variables can be referenced. You can view information about expressions
|
|
in the Expressions view.</p>
|
|
|
|
<h2>Registers</h2>
|
|
|
|
<p>You can view information about the registers in a selected stack frame.
|
|
Values that have changed are highlighted in the Registers view when your program
|
|
stops.</p>
|
|
|
|
<h2>Memory</h2>
|
|
|
|
<p>You can inspect and change your process memory.</p>
|
|
|
|
<h2>Disassembly</h2>
|
|
|
|
<p>You can view disassembled code mixed with source information.</p>
|
|
|
|
<h2>Modules</h2>
|
|
|
|
<p>You can view information about the modules (executables and shared libraries) loaded
|
|
in the current debug session.</p>
|
|
|
|
<h2>Signals</h2>
|
|
|
|
<p>You can view the signals defined on the selected debug target and how the
|
|
debugger handles each one.</p>
|
|
<p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
|
<br>
|
|
<a href="cdt_c_over_cdt.htm">Overview of the CDT</a><br>
|
|
<a href="cdt_c_over_dbg.htm">Debug overview</a></p>
|
|
<p><img src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
|
<br>
|
|
<a href="../tasks/cdt_o_debug.htm">Debugging</a><br>
|
|
</p>
|
|
<p><img src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
|
<br>
|
|
<a href="../reference/cdt_o_run_dbg_pages.htm">Run and Debug dialog box</a><br>
|
|
<a href="../reference/cdt_o_dbg_view.htm">Debug views</a></p><p>
|
|
|
|
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" > </p>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |