This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 41192 - Breakpoint deserialization needs to be avoided
Summary: Breakpoint deserialization needs to be avoided
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: PERFORMANCE
Depends on: 27194 41345
Blocks: 39626
  Show dependency tree
 
Reported: 2004-03-22 13:33 UTC by _ rkubacki
Modified: 2006-03-24 09:50 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-03-22 13:33:41 UTC
The use of DebuggerWarmUpTask for breakpoint
deserialization is wrong and needs to be avoided. 

First of all the whole idea of deserialization of
all breakpoints during startup sequence is bad. It
seems to be deficiency of our APIs that it cannot
be done lazily.

Now we have moved them to warmup but the semantic
of warm up does not guarantee when they will be
processed and causes strange behaviour when they
are displayed randomly after startup.

Growing warmup also affects user perception of
application behaviour. Though it looks started it
is not fully responsive and a lot of processing is
still done before warmup is processed.
Comment 1 Maros Sandor 2004-03-26 10:06:42 UTC
Persistence of breakpoints is yet to be designed for the new release.
Comment 2 Jan Jancura 2004-05-17 20:44:16 UTC
fixed in the main trunk!

RCS file:
/cvs/debuggerjpda/ui/src/META-INF/services/org.openide.text.AnnotationProvider,v
done
Checking in ui/src/META-INF/services/org.openide.text.AnnotationProvider;
/cvs/debuggerjpda/ui/src/META-INF/services/org.openide.text.AnnotationProvider,v
 <--  org.openide.text.AnnotationProvider
initial revision: 1.1
done
Processing log script arguments...
More commits to come...
RCS file:
/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/BreakpointAnnotationProvider.java,v
done
Checking in
ui/src/org/netbeans/modules/debugger/jpda/ui/BreakpointAnnotationProvider.java;
/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/BreakpointAnnotationProvider.java,v
 <--  BreakpointAnnotationProvider.java
initial revision: 1.1
done
Comment 3 Max Sauer 2005-07-11 15:34:38 UTC
Radek, please verify this issue, thanks.
Comment 4 _ rkubacki 2005-08-31 15:24:14 UTC
verified