}
protected void setBreakPoints() throws IOException, CoreException {
- IBreakpoint[] breakpoints = DebugPlugin.getDefault().getBreakpointManager().getBreakpoints();
- for (int i = 0; i < breakpoints.length; i++) {
- addBreakpoint(breakpoints[i]);
- }
- }
+ IBreakpoint[] breakpoints = DebugPlugin.getDefault()
+ .getBreakpointManager().getBreakpoints();
+ for (int i = 0; i < breakpoints.length; i++) {
+ if (breakpoints[i].isEnabled()) {
+ addBreakpoint(breakpoints[i]);
+ }
+ }
+ }
private String MapPath(PHPLineBreakpoint phpLBP) {
IPath filename;
}
}
if (pathtranslation && remote) {
- if (path.substring(0, 1).equals("/"))
+ if (remoteSourcePath.toString().substring(0, 1).equals("/"))
path = path.replace('\\', '/');
else
path = path.replace('/', '\\');