/usr/share/eclipse/dropins/ptp-rdt/eclipse/plugins/org.eclipse.ptp.rdt.doc.user_1.0.0.dist/html/tasks/analyze_code.html is in eclipse-ptp-rdt 8.1.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../help.css">
<title>Analyze code</title>
</head>
<body>
<h1>Analyze code</h1>
<p>You can view classes and
members, functions and their relationships using the <strong>Remote Type Hierarchy</strong> and <strong>Remote Call Hierarchy</strong> views.</p>
<p>To use the <strong>Remote Type Hierarchy</strong> view:</p>
<ol>
<li>In the <strong>Project Explorer</strong> view, expand your project. Select your source file
and open it in the remote C/C++ editor.<br>
<img src="../../images/TH_task_01.png" alt="Select file from Project Explorer and open it in the editor"></li>
<li>Select the element name in the editor. Right-click and select <strong>Open Type Hierarchy</strong>.<br>
<img src="../../images/TH_task_02.png" alt="Select element name from editor"></li>
<li>The <strong>Remote Type Hierarchy</strong> view opens up and shows the element's hierarchy.<br>
<img src="../../images/TH_task_03.png" alt="Remote Type Hierarchy view showing element's hierarchy"></li>
<li>Click the <strong>Show the Supertype Hierarchy</strong> button to see a hierarchy showing the type's parent
elements. This view shows the results of going up the type hierarchy.<br>
<img src="../../images/TH_task_04.png" alt="Show the Supertype Hierarchy"></li>
<li>Click the <strong>Show the Subtype Hierarchy</strong> button.<br>
<img src="../../images/TH_task_05.png" alt="Show the Subtype Hierarchy"></li>
<li>Click the <strong>Show the Subtype Hierarchy</strong> button.<br>
<img src="../../images/TH_task_05.png" alt="Show the Subtype Hierarchy"></li>
<li>In the hierarchy tree pane, select any element, right-click and select <strong>Focus On</strong>.
The selected element and its hierarchy is presented in the hierarchy view.<br>
<img src="../../images/TH_task_06.png" alt="Focus on an element"><br>
<img src="../../images/TH_task_07.png" alt="Focus on a new element"></li>
</ol>
<p>To use the <strong>Remote Call Hierarchy</strong> view:</p>
<ol>
<li>In the <strong>Project Explorer</strong> view, expand your project. Select your source file
and open it in the remote C/C++ editor.<br>
<img src="../../images/CH_task_01.png" alt="Select file from Project Explorer and open it in the editor"></li>
<li>Select the function name in the editor. Right-click and select <strong>Open Call Hierarchy</strong>.<br>
<img src="../../images/CH_task_02.png" alt="Select function name from editor"></li>
<li>The <strong>Remote Call Hierarchy</strong> view opens up and shows the function's callers.<br>
<img src="../../images/CH_task_03.png" alt="Remote Call Hierarchy view showing function's callers"></li>
<li>To get the callees of the function. Click the <strong>Show Callees</strong> button.<br>
<img src="../../images/CH_task_04.png" alt="Show the callees"></li>
</ol>
<span class="bold">Related reference</span>
<br>
<a href="../reference/remote_type_hierarchy.html">Remote Type Hierarchy view</a>
<br>
<a href="../reference/remote_call_hierarchy.html">Remote Call Hierarchy view</a>
<br>
<br>
</body>
</html>
|