blob: 9616ddfd413b00558e3184f8e48996ee10839015 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2006 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2006" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Starting a server in debug mode" />
<meta name="abstract" content="If you want to debug your projects while a server runs, you can start a server in debug mode." />
<meta name="description" content="If you want to debug your projects while a server runs, you can start a server in debug mode." />
<meta content="servers, starting in debug mode, applications, running on a server in debug mode, projects" name="DC.subject" />
<meta content="servers, starting in debug mode, applications, running on a server in debug mode, projects" name="keywords" />
<meta content="XHTML" name="DC.Format" />
<meta content="twsrtdbg_wst" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Starting a server in debug mode</title>
</head>
<body id="twsrtdbg_wst"><a name="twsrtdbg_wst"><!-- --></a>
<h1 class="topictitle1">Starting a server in debug mode</h1>
<div><p>If you want to debug your projects while
a server runs, you can start a server in debug mode.</p>
<div class="p" id="twsrtdbg_wst__twsrtdbg_prereq"><a name="twsrtdbg_wst__twsrtdbg_prereq"><!-- --></a><strong>Prerequisites:</strong><ul>
<li><a href="twcrtins.html">Create a server.</a></li>
<li><a href="twaddprj.html">Add a project to the server.</a></li>
<li>Edit the file you want to run and set breakpoints.</li>
<li>Open the Debug perspective.</li>
</ul>
</div>
<div class="section" id="twsrtdbg_wst__twsrtdbg_context"><a name="twsrtdbg_wst__twsrtdbg_context"><!-- --></a><p>Once you have started the server in debug
mode you can run the projects that are associated with the server. You can
stop and restart the server at any time. The status of the server is displayed
in the <span class="uicontrol"> Status </span> column of the Servers view. The status
of the breakpoints in your file is displayed in the Debug view.</p>
<p>To manually
start the server in debug mode:</p>
<p> </p>
</div>
<ol>
<li class="stepexpand" id="twsrtdbg_wst__twsrtdbg_step1"><a name="twsrtdbg_wst__twsrtdbg_step1"><!-- --></a><span>In the Servers view ( <span class="menucascade"><span class="uicontrol">Window
&gt; Show View &gt; Other &gt; Server &gt; Servers &gt; OK</span></span>), right-click
the server you want to start in debug mode.</span></li>
<li class="stepexpand"><span><span id="twsrtdbg_wst__twsrtdbg_steps_ph1"><a name="twsrtdbg_wst__twsrtdbg_steps_ph1"><!-- --></a>In the pop-up menu select <span class="uicontrol">Debug </span> </span> <img src="../images/launch_debug.gif" alt="This is an image of the Start in debug mode icon" /> . </span>
<span id="twsrtdbg_wst__twsrtdbg_steps_ph2"><a name="twsrtdbg_wst__twsrtdbg_steps_ph2"><!-- --></a>In the <span class="uicontrol">Status</span> column
of the Servers view, the status of the server changes to <em>Debugging</em>,
after the server is started in debug mode.</span></li>
</ol>
</div>
</body>
</html>