Instead of directly calling stack_get, get the depth first and then call the maximum...
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 4 Aug 2007 07:50:45 +0000 (00:50 -0700)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 4 Aug 2007 07:50:45 +0000 (00:50 -0700)
commit9371ab6efb4d371e9db5f9e72b8f2cdf38a3a8de
treeb915821c464e8b7a37db89fb061ebbc9b2b26ed2
parentcfb4b455d5d7aa97ddf659d1953ea3d0196ba244
Instead of directly calling stack_get, get the depth first and then call the maximum depth

* Source/DebuggerConnection.m:
([DebuggerConnection updateStackTraceAndRegisters]): Call stack_depth which in turn calls stack_get
([DebuggerConnection _stackDepthReceived:]): Receives the depth of the stack and then asks for the stack at that depth
Source/DebuggerConnection.m