-
Trace Editor freeze - SWTError: No more handles
1.Start TimeDoctor
2.Open tdi file that includes 3000 lines
Application freezes, no matter how large heap space. I got stack trace.
---
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:3589)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.SWT.error(SWT.java:3452)
at...
2009-03-11 01:35:06 UTC in TimeDoctor
-
1.Start TimeDoctor
2.Open sample.tdi
3.Drag QUEUES's line into TASKS section
4.Window > Show View > Task Statistics
error occurs
my approach:
com.nxp.timedoctor.core.model.statistics.TraceStatistic.java
---
private void createContents() {
Section tasks = traceModel.getSections().getSection(LineType.TASKS);
if (tasks != null) {
for (SampleLine line ...
2009-03-11 00:44:19 UTC in TimeDoctor
-
hi
thank you for acceptance. i'm honored.
i don't mind to add copyright notice.
please do it the way you prefer.
2009-02-22 05:57:06 UTC in TimeDoctor
-
1.save com.nxp.timedoctor.ui.workbench\src\com\nxp\timedoctor\internal\ui\PropertySource.java
2.modify TraceEditor#getAdapter
---
public Object getAdapter(final Class key) {
if (key.equals(IContentOutlinePage.class)) {
if (fOutlinePage == null) {
fOutlinePage = createOutlinePage();
}
return fOutlinePage;
}
//happyhills 2009/1/30 start
if...
2009-01-28 12:03:40 UTC in TimeDoctor
-
hi
DSC doesn't show STRING type description in this case.
---
STA 0 10 0
DSC 3 10 3
DSC 0 10 visible
STO 0 10 1
STA 0 20 1
DSC 0 20 notvisible
DSC 3 20 3
STO 0 20 2
END
---.
2009-01-26 09:53:26 UTC in TimeDoctor
-
hi
in this case trace model has one cpu 'zeroA' only.
this is correct.
---
cpu 0 zeroA
sta 0 1 1
sto 0 1 2
cpu 0 zeroB
sta 0 2 3
sto 0 2 4
end
---
but in this case it has two SampleCPU objects.
though, cpu-id ( or cpu-name ) is same.
---
cpu 0
sta 0 1 1
sto 0 1 2
cpu 0
sta 0 2 3
sto 0 2 4
end
---
does second argument mean cpu-id or cpu-name?
it's defference...
2009-01-24 08:08:42 UTC in TimeDoctor
-
need file.close().
1. start TimeDoctor.
2. open sample.tdi on trace editor.
3. try to rename file on Explorer.
2009-01-17 03:42:18 UTC in TimeDoctor
-
remains leftPane, rightPane and mainSash.
my suggestion
---
public void dispose() {
mainViewer.dispose();
mainViewer = null;
//start
leftPane.dispose();
rightPane.dispose();
mainSash.dispose(); //add local field "mainSash" and save it
//end
}
---.
2009-01-17 03:29:11 UTC in TimeDoctor
-
i need Junit test case for TraceModel. i've tried to create.
location:
com.nxp.timedoctor.core.tests.model/src/com/nxp/timedoctor/core/tests/model/TraceModelTest.java.
2009-01-11 06:13:59 UTC in TimeDoctor
-
i need JUnit4 test case for Parser. how about this.
sample:
(attached)
location:
com.nxp.timedoctor.core.parser/test/com/nxp/timedoctor/core/parser/ParserTest.java.
2009-01-10 06:52:15 UTC in TimeDoctor