Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Observing MI traffic

On Mon 23 Jun 2014 03:37:40 PM EDT, Pascal Rapicault wrote:
> Hi,
>
> Is there a tool of some sort, or maybe just a technique to observe the
> traffic ongoing between the CDT debugger and gdb?

Hi Pascal,

You can see them directly in CDT, they are called "gdb traces". In the 
Console View, you can switch between the different consoles (it's a 
small arrow pointing down, just right of the computer screen icon). 
There is one console that should contain "gdb traces" in its name.

Commands sent to gdb are prefixed with a number (just a running 
counter) and the corresponding reply is also prefixed with that number. 
This way, you (and CDT) can associate a request and its reply. Example:

900,946 19-list-thread-groups
900,947 19^done,groups=[{id="i1",type="process"}]

Hope this helps,

Simon

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




Back to the top