Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] How to hook up debug to new project model

Hey gang, especially Mikhail S, and maybe Ken R might have some ideas,

 

The next step towards a seamless new user experience for our Windows developer base using MinGW, is to pre-populate the debug launch configuration with the MinGW debugger settings.

 

These settings are different than the Cygwin debugger so I can’t just default to MinGW for the debugger. What I want to do is to somehow specify that a given build toolchain is associated with a given debugger. Given that in the future we’ll have multiple debugger implementations (CDI and DSF and maybe others), I’d rather do this on the debug side, i.e. the debugger says what toolchains it works with.

 

So the question is, how do I tell what toolchain is being used for the active configuration of a project. I was able to figure out how to get the ICConfigurationDescription for a project but got stuck there.

 

As well is the more general question on whether this is the right approach. Ken, is there something in the new launch paradigm that I need to consider as well.

 

I have raised a bug report where we can capture the ideas: https://bugs.eclipse.org/bugs/show_bug.cgi?id=179755.

 

Thanks,

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, http://cdtdoug.blogspot.com

 


Back to the top