Add debug configuration for codelite projets
[bertos.git] / wizard / cltemplates / bertos.project
index 4bacd61891873f55be6d9a27d8cfe869865eb77a..8a3a6b451b42ffa12ee25b03e637ab4f599cb3c8 100644 (file)
@@ -5,15 +5,16 @@ $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>
+      <Debugger IsRemote="yes" RemoteHostName="localhost" RemoteHostPort="3333" DebuggerPath="$debuggerpath">
+        <PostConnectCommands>monitor soft_reset_halt
+tbreak main</PostConnectCommands>
         <StartupCommands></StartupCommands>
-      </Debugger>
+      </Debugger>      
       <ResourceCompiler Required="no" Options=""/>
       <PreBuild/>
       <PostBuild/>