[MonoDevelop] What is the Module for adding variables to watch window

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Dec 9 21:30:17 EST 2009


On Wed, Dec 9, 2009 at 6:52 AM, ptr <ptrajkumar at gmail.com> wrote:
> I thought I had a properly setup mono parallel environment under ubuntu-9.10
> 1) both mono and mono develop installed through apt-get
> 2)  mono and mono-develop from the latest svn compiled and installed under
> /home
> After sourcng the setup-mono-dev script, mono , gmcs all say it is the
> latest version so I was assuming I had the parallel enviroment setup
> correctly. Also I am using "make run" from monodevelop directory to run 2.2
> RC.
> In a nutshell my monodevelop 2.2RC ran if and only if i had sourced the
> parallel setup script so I was operating under the assumption  that it was
> correctly running against the svn runtime.

Hm, that sounds correct. I'm assuming you also built it within the
parallel runtime.

Another possibility is that MD is trying to *target* your /usr system
Mono - and I don't know if that works with mdb. Check what the active
runtime is in the "project"->"active runtime" menu (and the default in
prefs->".net runtimes").

> Questions:
> 1) How can I ensure that I have a complete
> "http://www.mono-project.com/Parallel_Mono_Environments" ? I followed all
> the directions. I s their a test ?

Unfortunately not, nope, but that's a good idea to have a test to
check the integrity of a Mono environment.

> 2) How does one enable the soft debugger
> (http://www.mono-project.com/Soft_Debugger" ?

It's enabled by default in Mono trunk and 2.6 branch, and in MD trunk
and 2.2 branch. As I described above, ensure that MD is targetting
your trunk/2.6 runtime, or the soft debugger will be disabled.

>  Will it work under OS X as well ?

Yes, it works fine under OS X. It even works on iPhone :)

> Can it be used to debug an application if it embeds mono and is not a
> purely csharp application ?

Yes, but you have to make certain embedding calls within you app to
turn the debugger on (and I'm not sure what they are offhand). You
would also need a (trivial) MD debug addin to make it listen for an
incoming soft debugger connection.

See moonlight and the MonoDevelop.Debugger.Soft.Moonlight addin for an example.

> 3) While building monodevelop I selected only Mdb,Gdb modules ? Are they
> enough for most purposes ?

Yes, they are.

>Also could it possible that for the other modules
> it is using the old mono

Highly unlikely IMO. When you run MD within MD, it only looks in the
current build for addins, and they get loaded inte the MD process. The
exception is the mdb debugger server that has to runs on the target
runtime.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list