2 <html> |
2 <html> |
3 <head> |
3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
4 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
5 <title>Debugging a Carbide.c++ plug-in</title> |
5 <title>Debugging a Carbide.c++ plug-in</title> |
6 <link rel="StyleSheet" href="../../book.css" type="text/css"/> |
6 <link rel="StyleSheet" href="../../book.css" type="text/css"/> |
|
7 <style type="text/css"> |
|
8 <!-- |
|
9 .style1 {font-family: "Courier New", Courier, mono} |
|
10 --> |
|
11 </style> |
7 </head> |
12 </head> |
8 <body bgcolor="#FFFFFF"> |
13 <body bgcolor="#FFFFFF"> |
9 <h2>Debugging a Carbide.c++ plug-in</h2> |
14 <h2>Debugging a Carbide.c++ plug-in</h2> |
10 <p>In order to launch Carbide.c++ in debug mode you need to create an Eclipse runtime debug configuration. Follow these steps.</p> |
15 <p>In order to launch Carbide.c++ in debug mode you need to create an Eclipse runtime debug configuration. Follow these steps.</p> |
11 <ol> |
16 <ol> |
12 <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> |
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> |
13 <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 /> |
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 /> |
14 <br /> |
19 <br /> |
15 <img src="../img/launch_config.JPG" width="799" height="573" /> <br /> |
20 <img src="../img/launch_config.jpg" width="881" height="638"> <br /> |
16 </li> |
21 </li> |
17 <li>Click <strong>Debug</strong> and you should have a fully functional debug environment around Carbide.c++.<br /> |
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> |
18 </li> |
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> |
19 </ol> |
27 </ol> |
20 <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> |
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> |
21 </body> |
29 </body> |
22 </html> |
30 </html> |