mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 01:36:01 +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
|
2004-10-19 Mikhail Khodjaiants
|
||||||
Support of the thread-specific breakpoints.
|
Support of the thread-specific breakpoints.
|
||||||
Fix for the error handling of the asynchronous operations.
|
Fix for the error handling of the asynchronous operations.
|
||||||
|
|
|
@ -145,12 +145,14 @@ public class DebugConfiguration implements ICDebugConfiguration {
|
||||||
*/
|
*/
|
||||||
public String[] getCoreFileExtensions() {
|
public String[] getCoreFileExtensions() {
|
||||||
if (fCoreExt == null) {
|
if (fCoreExt == null) {
|
||||||
String cexts = getConfigurationElement().getAttribute("coreFileFilter"); //$NON-NLS-1$
|
|
||||||
StringTokenizer tokenizer = new StringTokenizer(cexts, ","); //$NON-NLS-1$
|
|
||||||
List exts = new ArrayList();
|
List exts = new ArrayList();
|
||||||
while (tokenizer.hasMoreTokens()) {
|
String cexts = getConfigurationElement().getAttribute("coreFileFilter"); //$NON-NLS-1$
|
||||||
String ext = tokenizer.nextToken().trim();
|
if (cexts != null) {
|
||||||
exts.add(ext);
|
StringTokenizer tokenizer = new StringTokenizer(cexts, ","); //$NON-NLS-1$
|
||||||
|
while (tokenizer.hasMoreTokens()) {
|
||||||
|
String ext = tokenizer.nextToken().trim();
|
||||||
|
exts.add(ext);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
exts.add("*.*"); //$NON-NLS-1$
|
exts.add("*.*"); //$NON-NLS-1$
|
||||||
fCoreExt = (String[])exts.toArray(new String[exts.size()]);
|
fCoreExt = (String[])exts.toArray(new String[exts.size()]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue