mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
Bug 332288 - [disassembly] Source lookup problems are logged multiple times for the same file
This commit is contained in:
parent
c2a6ef0d6b
commit
cd23b6b5b5
1 changed files with 4 additions and 1 deletions
|
@ -2879,7 +2879,10 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
|
|||
}
|
||||
fFile2Storage.put(file, sourceElement);
|
||||
} else if (sourceElement == null) {
|
||||
logWarning(DisassemblyMessages.Disassembly_log_error_locateFile+file, null);
|
||||
if (!fFile2Storage.containsKey(file)) {
|
||||
logWarning(DisassemblyMessages.Disassembly_log_error_locateFile+file, null);
|
||||
fFile2Storage.put(file, null);
|
||||
}
|
||||
} else {
|
||||
fFile2Storage.put(file, null);
|
||||
assert false : "missing support for source element of type " + sourceElement.getClass().toString(); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue