1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-13 19:25:38 +02:00

catch CDIException if getRegisters() failed.

This commit is contained in:
Alain Magloire 2002-09-16 22:22:18 +00:00
parent 98cf33a2f4
commit 2ffa2611d2

View file

@ -113,18 +113,14 @@ public class CRegisterGroup extends CDebugElement implements IRegisterGroup
CStackFrame currentFrame = getCurrentStackFrame(); CStackFrame currentFrame = getCurrentStackFrame();
if ( currentFrame != null ) if ( currentFrame != null )
{ {
/*
try try
{ {
*/
result = getCurrentStackFrame().getCDIStackFrame().getRegisters( fRegisterObjects ); result = getCurrentStackFrame().getCDIStackFrame().getRegisters( fRegisterObjects );
/*
} }
catch( CDIException e ) catch( CDIException e )
{ {
targetRequestFailed( e.getMessage(), null ); targetRequestFailed( e.getMessage(), null );
} }
*/
} }
return result; return result;
} }