CodeLite: add a small delay during the debugger initialization.
[bertos.git] / wizard / cltemplates / bertos.project
index 4bacd61891873f55be6d9a27d8cfe869865eb77a..7516404cd0e24fc25baa15f2b51b05c8a8550989 100644 (file)
@@ -5,14 +5,18 @@ $filelist
   <Dependencies/>
   <Settings Type="Dynamic Library">
     <Configuration Name="Debug" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="Dynamic Library">
-      <General OutputFile="" IntermediateDirectory="./Debug" Command="" CommandArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="yes"/>
+     <General OutputFile="" IntermediateDirectory="./Debug" Command="./images/$project.elf" CommandArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="yes"/>
       <Compiler Required="yes" Options="-g">
         <IncludePath Value="."/>
       </Compiler>
       <Linker Required="yes" Options=""/>
-      <Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath="">
-        <PostConnectCommands></PostConnectCommands>
-        <StartupCommands></StartupCommands>
+      <Debugger IsRemote="yes" RemoteHostName="localhost" RemoteHostPort="3333" DebuggerPath="$debuggerpath">
+        <PostConnectCommands>
+source $initscript
+       </PostConnectCommands>
+        <StartupCommands>
+shell sleep 1
+        </StartupCommands>
       </Debugger>
       <ResourceCompiler Required="no" Options=""/>
       <PreBuild/>