mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
2004-10-19 Alain Magloire
Fix NPE. * src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java
This commit is contained in:
parent
f1b59465a3
commit
75a64c1e16
2 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-10-19 Alain Magloire
|
||||
Fix NPE.
|
||||
* src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java
|
||||
|
||||
2004-10-19 Mikhail Khodjaiants
|
||||
Support of the thread-specific breakpoints.
|
||||
Fix for the error handling of the asynchronous operations.
|
||||
|
|
|
@ -145,12 +145,14 @@ public class DebugConfiguration implements ICDebugConfiguration {
|
|||
*/
|
||||
public String[] getCoreFileExtensions() {
|
||||
if (fCoreExt == null) {
|
||||
String cexts = getConfigurationElement().getAttribute("coreFileFilter"); //$NON-NLS-1$
|
||||
StringTokenizer tokenizer = new StringTokenizer(cexts, ","); //$NON-NLS-1$
|
||||
List exts = new ArrayList();
|
||||
while (tokenizer.hasMoreTokens()) {
|
||||
String ext = tokenizer.nextToken().trim();
|
||||
exts.add(ext);
|
||||
String cexts = getConfigurationElement().getAttribute("coreFileFilter"); //$NON-NLS-1$
|
||||
if (cexts != null) {
|
||||
StringTokenizer tokenizer = new StringTokenizer(cexts, ","); //$NON-NLS-1$
|
||||
while (tokenizer.hasMoreTokens()) {
|
||||
String ext = tokenizer.nextToken().trim();
|
||||
exts.add(ext);
|
||||
}
|
||||
}
|
||||
exts.add("*.*"); //$NON-NLS-1$
|
||||
fCoreExt = (String[])exts.toArray(new String[exts.size()]);
|
||||
|
|
Loading…
Add table
Reference in a new issue