mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
Bug 155275: Exception when stepping.
This commit is contained in:
parent
75c4506a6e
commit
66b8cbde90
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-08-29 Mikhail Khodjaiants
|
||||
Bug 155275: Exception when stepping.
|
||||
* CThread.java
|
||||
|
||||
2006-08-14 Mikhail Khodjaiants
|
||||
Bug 136896: View variables in binary format.
|
||||
Applied modified patch from Mark Mitchell (CodeSourcery).
|
||||
|
|
|
@ -155,7 +155,7 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
|
|||
int depth = getStackDepth();
|
||||
if ( depth >= getMaxStackDepth() )
|
||||
depth = getMaxStackDepth() - 1;
|
||||
ICDIStackFrame[] frames = ( depth != 0 ) ? getCDIStackFrames( 0, depth ) : new ICDIStackFrame[0];
|
||||
ICDIStackFrame[] frames = ( depth != 0 ) ? getCDIStackFrames( 0, depth - 1 ) : new ICDIStackFrame[0];
|
||||
|
||||
if ( fStackFrames.isEmpty() ) {
|
||||
if ( frames.length > 0 ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue