CodeLite: add a small delay during the debugger initialization.
[bertos.git] / wizard / cltemplates / bertos.project
index 8a3a6b451b42ffa12ee25b03e637ab4f599cb3c8..7516404cd0e24fc25baa15f2b51b05c8a8550989 100644 (file)
@@ -11,10 +11,13 @@ $filelist
       </Compiler>
       <Linker Required="yes" Options=""/>
       <Debugger IsRemote="yes" RemoteHostName="localhost" RemoteHostPort="3333" DebuggerPath="$debuggerpath">
-        <PostConnectCommands>monitor soft_reset_halt
-tbreak main</PostConnectCommands>
-        <StartupCommands></StartupCommands>
-      </Debugger>      
+        <PostConnectCommands>
+source $initscript
+       </PostConnectCommands>
+        <StartupCommands>
+shell sleep 1
+        </StartupCommands>
+      </Debugger>
       <ResourceCompiler Required="no" Options=""/>
       <PreBuild/>
       <PostBuild/>