title: How to step thourgh a second vb6.exe that is called from the main vb6.exe
body: <p>I have a Main VB6 application that is calling another VB6 application. The Sub application is crashing when it is called from the main VB6 application. I how can i step though the second application to debug the error. I know in .net you can attach to another process and step through, is there a way to do the same thing in vb6?</p>
  
  <p>The second application is being called with:</p>
  
  <pre><code>ShellEx(App.path &amp; "\main.exe", essSW_SHOWDEFAULT, PassedParameters)
  </code></pre>