Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Can CDT use the windowsToolkit (WinDbg) debugger

Actually, I have started a project to interface the CDT debugger directly 
to the Windows Debug APIs. I'll be contributing this as soon as I get some 
2.0 fires put out (likely next week).

Calling the APIs directly is probably a better approach since you don't 
need to figure out how to communicate with WinDbg and won't need it 
installed. All you would need is the dbghelp.dll from the Debugging Tools 
install (which I believe is redistributable but I'm not sure how to 
include it with the CDT) and, of course, the Platform SDK. I have some of 
the basics working and a lot of work is left in the data interpretation 
area. Stay tuned...

Doug Schaefer, IBM's Eclipse CDT Architect
Ottawa (Palladium), Ontario, Canada



Hasse Hellberg <hasse@xxxxxxxxxxxxxxx> 
Sent by: cdt-debug-dev-admin@xxxxxxxxxxx
06/18/2004 07:18 AM
Please respond to
cdt-debug-dev


To
cdt-debug-dev@xxxxxxxxxxx
cc

Subject
[cdt-debug-dev] Can CDT use the windowsToolkit (WinDbg) debugger






Hello cdt-debug-dev,

I really like to use the Windows Toolkit (WinDbg) debugger.
Make it work like the default GDB debugger for CDT projects!

I'm also kind of new to how the default Eclipse debugger actually works.
I have gathered some information trough Eclipse newsgroup and mailing 
list and there are talks about doing this. Nothing really final doe as I 
could 
see. Probably my knowledge of the technical detail are to thin to 
interpret 
all the discussions in the right way.

If you feel you have information about this or even better, you are also
trying this approach! - Please respond and let me know what to expect :

Here are some of my initial tactics pursuing the goal of WinDbg 
implementation.
- The main problem seems to be the MI interface Eclipse CDT use. 
I think like this: (I'm starting from scratch) (correct me if I'm wrong)

I need some form of converter to make WinDbg talk and listen. 
This can be because default implementation provided by for the
debugger is based on GDB/MI. - And WinDbg  can not talk/listen to
that.

The plugin org.eclipse.cdt.debug.mi.core
can be used as a template and adding the "converter code" here is a
good idea.

Any insight and starting points is greatly appreciated!
//Thanks Thomas!


Thanks in advance.

Sincerely yours,

Hasse



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




Back to the top