mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-12 10:45:37 +02:00
PR 23877 Allow line to be set without filename.
This commit is contained in:
parent
ab161541db
commit
5d14c78a5c
1 changed files with 2 additions and 0 deletions
|
@ -307,6 +307,8 @@ public class BreakpointManager extends SessionObject implements ICDIBreakpointMa
|
||||||
}
|
}
|
||||||
} else if (function != null && function.length() > 0) {
|
} else if (function != null && function.length() > 0) {
|
||||||
line.append(function);
|
line.append(function);
|
||||||
|
} else if (location.getLineNumber() != 0) {
|
||||||
|
line.append(location.getLineNumber());
|
||||||
} else {
|
} else {
|
||||||
line.append('*').append(location.getAddress());
|
line.append('*').append(location.getAddress());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue