--- a/org.symbian.tools.wrttools.debug.core/src/org/symbian/tools/wrttools/debug/internal/model/WorkspaceBreakpointHandler.java Fri Jun 04 09:44:40 2010 -0700
+++ b/org.symbian.tools.wrttools.debug.core/src/org/symbian/tools/wrttools/debug/internal/model/WorkspaceBreakpointHandler.java Fri Jun 04 14:50:48 2010 -0700
@@ -70,22 +70,19 @@
if (!supportsBreakpoint(breakpoint)) {
return;
}
- try {
- if (breakpoint.isEnabled()) {
- // Class cast is ensured by the supportsBreakpoint
- // implementation
- final ChromiumLineBreakpoint lineBreakpoint = (ChromiumLineBreakpoint) breakpoint;
- IFile file = (IFile) breakpoint.getMarker().getResource();
- if (!resourceManager.isAddingFile(file)) {
- final String script = resourceManager.translateResourceToScript(file);
- if (script != null) {
- registerBreakpoint(lineBreakpoint, script);
- }
- }
- }
- } catch (CoreException e) {
- Activator.log(e);
- }
+ try {
+ // Class cast is ensured by the supportsBreakpoint implementation
+ final ChromiumLineBreakpoint lineBreakpoint = (ChromiumLineBreakpoint) breakpoint;
+ IFile file = (IFile) breakpoint.getMarker().getResource();
+ if (!resourceManager.isAddingFile(file)) {
+ final String script = resourceManager.translateResourceToScript(file);
+ if (script != null) {
+ registerBreakpoint(lineBreakpoint, script);
+ }
+ }
+ } catch (CoreException e) {
+ Activator.log(e);
+ }
}
public void breakpointChanged(IBreakpoint breakpoint, IMarkerDelta delta) {