2
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
2 |
<html>
|
|
3 |
<head>
|
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
|
|
5 |
<title>Debugging a Carbide.c++ plug-in</title>
|
|
6 |
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
|
12
|
7 |
<style type="text/css">
|
|
8 |
<!--
|
|
9 |
.style1 {font-family: "Courier New", Courier, mono}
|
|
10 |
-->
|
|
11 |
</style>
|
2
|
12 |
</head>
|
|
13 |
<body bgcolor="#FFFFFF">
|
|
14 |
<h2>Debugging a Carbide.c++ plug-in</h2>
|
|
15 |
<p>In order to launch Carbide.c++ in debug mode you need to create an Eclipse runtime debug configuration. Follow these steps.</p>
|
|
16 |
<ol>
|
|
17 |
<li> Click the <b>Debug</b> icon (<img src="../img/btn_debug.png" width="17" height="16" align="absmiddle">) in the task bar or right click on a project and choose<strong> Debug As</strong> ><strong> Open Debug Dialog...</strong> You should see the Eclipse launch configuration dialog. </li>
|
12
|
18 |
<li>Choose <b>Eclipse Application</b> and then click on the <b>New</b> button. A new configuration is created. You should be able to take the default settings which should look like this: <br />
|
2
|
19 |
<br />
|
12
|
20 |
<img src="../img/launch_config.jpg" width="881" height="638"> <br />
|
2
|
21 |
</li>
|
12
|
22 |
<li>Click <strong>Debug</strong> and the Carbide.c++ project will launch another instance under debug control. You can set breakpoints in any of the plug-ins you have imported or any sources in the stack crawl during a debug session. <br>
|
|
23 |
<br>
|
|
24 |
<br>
|
|
25 |
<strong>TIP</strong>: Under the Arguments Tab, be sure to add theses VM Arguments for memory management: <span class="style1">-Xms40m -Xmx1024m<br />
|
|
26 |
</span> </li>
|
2
|
27 |
</ol>
|
|
28 |
<div id="footer">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div></div>
|
|
29 |
</body>
|
|
30 |
</html> |