mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 02:36:01 +02:00
Fixed for bugzilla 240538. Load Symbols for All in Modules view always generates a bogus error
This commit is contained in:
parent
a10ab1f0bf
commit
d56a79adc4
1 changed files with 2 additions and 5 deletions
|
@ -213,16 +213,13 @@ public class CModule extends CDebugElement implements ICModule {
|
|||
if ( path == null || path.isEmpty() ) {
|
||||
requestFailed( CoreModelMessages.getString( "CModule.2" ), null ); //$NON-NLS-1$
|
||||
}
|
||||
String message = CoreModelMessages.getString( "CModule.4" ); //$NON-NLS-1$
|
||||
if ( fCDIObject instanceof ICDISharedLibrary && path.equals( getSymbolsFileName() )) {
|
||||
else if ( fCDIObject instanceof ICDISharedLibrary && path.equals( getSymbolsFileName() )) {
|
||||
try {
|
||||
((ICDISharedLibrary)fCDIObject).loadSymbols();
|
||||
return;
|
||||
}
|
||||
catch( CDIException e ) {
|
||||
message = e.getMessage();
|
||||
targetRequestFailed( e.getMessage(), null );
|
||||
}
|
||||
}
|
||||
targetRequestFailed( message, null );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue