Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Doubt related to Debug terminate action event

Since I didn't mention clearly my subject line. So, have resent it.

Thanks John and Mikhail for the response related to MIInferior class.

I have one more doubt.. Its related to registering the SessionManager for
getting debug events.

I have return a new launch configuration. In my new delegate, after doing
some of the steps required for my launch,

I am using the launch of LocalCDILaunchDelegate.
Now in this case, though the debug starts and stack frame is displayed but
when I do terminate action on running debug process,
the terminate is not happening. I tried putting breakpoints and then
debugging the issue it seems that the SessionManager
handleTerminateEvents() or handleDebugEvents() are not getting called.

Since they are not getting called it seems the event is either not received
or not handled.

Can someone tell what might be the issue and how to make sure that
terminate event is received ?

Thanks & Regards,

Nayna Jain




             John Cortell
             <rat042@freescale
             .com>                                                      To
             Sent by:                  "CDT General developers list."
             cdt-dev-bounces@e         <cdt-dev@xxxxxxxxxxx>, "CDT General
             clipse.org                developers list."
                                       <cdt-dev@xxxxxxxxxxx>
                                                                        cc
             12/03/2009 07:48
             PM                                                    Subject
                                       RE: [cdt-dev] Purpose of MIInferior
                                       class
             Please respond to
               "CDT General
             developers list."
             <cdt-dev@eclipse.
                   org>






That's what I get for trying to quickly scan the code and come up
with an answer. Thought I had it right, but oh welll...

John

At 08:16 AM 12/3/2009, Mikhail Khodjaiants wrote:
>John,
>
>It's the opposite, MIInferior represents the process being debugged.
>
>Mikhail
>-----Original Message-----
>From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
>On Behalf Of John Cortell
>Sent: Thursday, December 03, 2009 2:00 PM
>To: CDT General developers list.; cdt-dev@xxxxxxxxxxx
>Subject: Re: [cdt-dev] Purpose of MIInferior class
>
>Nayna,
>
>MIInferior is the java.lang.Process that represents the gdb process
>itself, as opposed to the, say, the "Hello World" process the user is
>debugging.
>
>You will see that the gdb process is represented in the Debug view.
>The model object associated with that view element is an MIInferior
>instance.
>
>As for standalone documentation on the gdb/mi CDI reference
>implementation, there is none that I know of.  Detailed low level
>documents is not something you're not going to come across very often in
>CDT, but I think that holds true for many projects. There are comments
>in the code, but admittedly, they are sparse. In a perfect world,
>committers would thoroughly document their classes/interfaces/methods.
>Often, though, the focus is on developing good software that performs,
>is well designed, and intuitive. If software meets those three criteria,
>engineers can often learn the design simply by studying the code. It's
>not an ideal situation, but it's something.
>
>John
>
>At 05:20 AM 12/3/2009, Nayna Jain wrote:
> >Hi all,
> >
> >What is the purpose of MIInferior class in
>org.eclipse.cdt.debug.mi.core ?
> >
> >Is there any document which tells how the connection to gdb/mi is
> >mapped in our cdt debug model ?
> >
> >Which class represents what ?
> >
> >Thanks & Regards,
> >Nayna Jain
> >
> >_______________________________________________
> >cdt-dev mailing list
> >cdt-dev@xxxxxxxxxxx
> >https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>
>_______________________________________________
>cdt-dev mailing list
>cdt-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/cdt-dev
>--
>IMPORTANT NOTICE: The contents of this email and any attachments are
>confidential and may also be privileged. If you are not the intended
>recipient, please notify the sender immediately and do not disclose
>the contents to any other person, use it for any purpose, or store
>or copy the information in any medium.  Thank you.
>_______________________________________________
>cdt-dev mailing list
>cdt-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/cdt-dev


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


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



Back to the top