[MonoDevelop] How to step in to Mono source code?

IBBoard ibboard at gmail.com
Fri Dec 31 04:17:42 EST 2010


On 31/12/10 00:56, Michael Hutchinson wrote:
> On Thu, Dec 30, 2010 at 3:36 PM, IBBoard<ibboard at gmail.com>  wrote:
>> Hi,
>>
>> I'm having a bit of a fight with GTK# and I want to step into the source
>> code to see what it is doing. I do it all the time in my day job using
>> Java in Eclipse and it can be hugely useful. I know it is possible, as
>> I've suggested it as a feature and been told that it already exists in
>> MonoDevelop and I just needed to untick a "only step into code in local
>> projects" box in the preferences.
>>
>> I've just installed mono-core-debugsource (after already having
>> -debuginfo) on openSUSE 11.3 and restarted MD, but if I step into
>> anything like Dictionary or any other core classes then I still just get
>> the stacktrace updating but the arrow staying where it is and turning
>> green to show that it is in inner code.
>>
>> Am I missing something? Can someone give me some pointers on how to step
>> into Mono's code as well as my own?
>
> Those packages are only the source for the native code in the Mono
> runtime. I don't know whether there's a package with C# source - maybe
> you'd have to build a parallel runtime
>

I found that the debuginfo was only for the native buts, because I 
installed that before, but the .cs files are in the debugsource package 
(I checked after I installed and it didn't work).

Just so that I know what I'm trying to achieve, what files do I need to 
have where and what other variables/bindings/settings are needed? In 
Eclipse with Java I just need to associate a zip of .java files to a JAR 
or install the jdk-src package, which is really easy and flexible. I'm 
not entirely clear on what Mono needs to have where at the moment, and 
it'd be a shame if it wasn't easy to do with a standard install.

Thanks,

IBBoard


More information about the Monodevelop-list mailing list