Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Debug Problems

Donny Kurniawan wrote:

Hi All,

1.  Sometimes TargetRegisterEvent or TargetUnregisterEvent cannot be
fired.  Double click on the process in Parallel Debug View to register
it into debug view.  The problem is that a method in debug core has been
called to register the process and supposingly debug core will fire the
event after register or unregister the process.  Sometimes these event
cannot be fired.

2.  Sometimes the registered process in debug view cannot be resumed.  I
clicked the resume button in debug view, even the resume button turn to
disable after clicked it, the process cannot be really resumed.  I
cannot click the resume button to resume again because the button is
turned to disable.


What do you mean by "sometimes"?
Possible to post a way to replicate this problem?
For example, Set a breakpoint before launching the program. All the processes should be hit the breakpoint. The process 0 should be registered in debug view. Then resume the process 0. You should not see the black rectangle by registering another process after the process 0 is finished. Note that the process 0 must be terminated at first. By the way, the process 0 does not have black rectangle in first job. We have discussed this problem before. It is about the timing problem.

3.  Error dialog popped up when I created a breakpoint in set.  I
created a breakpoint in root and then changed to a new set and removed
this breakpoint by double clicking on it.  Then I double clicked again
to create a breakpoint on this set.  The error dialog will popup.

4.  Please open Error view by click "menu" -> "windows" -> "show view".
After launching the program, there are a lot of error created in this
error view.  They are about IO errors.

5.  Currently, the debug simulator cannot support the breakpoint by
job.  For example, I created a breakpoint on line 10 in job1 and a
breakpoint on line 15 in job2.  job2 will hit the breakpoint on line
10.  Now I have created a breakpoint for all jobs called "global".  The
"job id" attribute of breakpoint is called "Global".  That means this
breakpoint can apply for all the jobs.

I'll check 3, 4, and 5.

6.  The parallel debug actions haven't be implemented yet.



done... look at Session()


I cannot see the resume method in Session or IPCDISession. What is count parameter for in step method? Besides, I think the terminate method in Session is used to teminate all the processes in the current job because there is no any parameters in this method. That mean it cannot terminate all processes by set.
Donny

Regards,
Clement

--
Clement Chu
Research Assistant
School of Computer Science & Software Engineering
Monash University, Caulfield Campus
Ph: 61 3 9903 1964



_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev



--
Clement Chu
Research Assistant
School of Computer Science & Software Engineering
Monash University, Caulfield Campus
Ph: 61 3 9903 1964



Back to the top