carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/gettingStarted/launchconfig.htm
author timkelly
Fri, 27 Mar 2009 10:36:17 -0500
changeset 12 6b79ffb176c5
parent 2 d760517a8095
child 1704 24ac5a5cf80c
permissions -rw-r--r--
Update to describe how SFO CDK works
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
cawthron
parents:
diff changeset
     2
<html>
cawthron
parents:
diff changeset
     3
<head>
cawthron
parents:
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
cawthron
parents:
diff changeset
     5
<title>Debugging a Carbide.c++ plug-in</title>
cawthron
parents:
diff changeset
     6
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
12
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
     7
<style type="text/css">
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
     8
<!--
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
     9
.style1 {font-family: "Courier New", Courier, mono}
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    10
-->
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    11
</style>
2
cawthron
parents:
diff changeset
    12
</head>
cawthron
parents:
diff changeset
    13
<body bgcolor="#FFFFFF">
cawthron
parents:
diff changeset
    14
<h2>Debugging a Carbide.c++ plug-in</h2>
cawthron
parents:
diff changeset
    15
<p>In order to launch Carbide.c++ in debug mode you need to create an Eclipse runtime debug configuration. Follow these steps.</p>
cawthron
parents:
diff changeset
    16
<ol>
cawthron
parents:
diff changeset
    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> &gt;<strong> Open Debug Dialog...</strong> You should see the Eclipse launch configuration dialog. </li>
12
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    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
cawthron
parents:
diff changeset
    19
    <br />
12
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    20
    <img src="../img/launch_config.jpg" width="881" height="638"> <br />
2
cawthron
parents:
diff changeset
    21
</li>
12
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    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>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    23
    <br>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    24
    <br>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    25
    <strong>TIP</strong>: Under the Arguments Tab, be sure to add theses VM Arguments for memory management: <span class="style1">-Xms40m -Xmx1024m<br />
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    26
  </span> </li>
2
cawthron
parents:
diff changeset
    27
</ol>
cawthron
parents:
diff changeset
    28
<div id="footer">Copyright &copy; 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>
cawthron
parents:
diff changeset
    29
</body>
cawthron
parents:
diff changeset
    30
</html>