Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] CDT Debugging

----- Original Message ----- 
From: "Phillip Shoemaker" <pshoemaker@xxxxxxx>
To: <cdt-dev@xxxxxxxxxxx>
Sent: Thursday, February 26, 2004 12:01 AM
Subject: [cdt-dev] CDT Debugging


> We're implementing an MI implementation of our own debugger, in order
> to more easily integrate within the CDT. However, we started running
> into issues with two pieces of functionality:
> 1. Suspending the running application
> 2. Displaying a disassembly view
>
> 1. When we run our app (in our debugger), the suspend icon never
> becomes enabled. When we started to research this, we found that the
> GDB MI plug-in doesn't ever enable the suspend icon either. What am I
> missing? How can I make this icon become enabled?
>

The "Suspend" action is connected to the item selected in the Debug view. It
is enabled only and only if the selected item is an instance of the
"ISuspendResume" interface and the "canSuspend" method of this interface
returns true.
In CDT this is implemented in the "CDebugTarget' class.

> 2. I know that this is more of a user-related question (I should hit
> the newsgroups), but is there a way to turn on a disassembly view? I'd
> love to be able to use standard functionality for our own debugger
> there.
>
> Thanks.
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev
>



Back to the top