On 08/15/02 Hans-J�rgen Sch�nig wrote:
> I have tried to use the "-g" flag of the C# compiler.
> Somehow it doesn't work because there seem to be some files missing:
> 
> [hs@duron exception]$ mcs -g main.cs
> Compilation succeeded
> [hs@duron exception]$ ls
> main.cs  main.exe
> 
> 
> According to the debugging information on www.go-mono.org i think that 
> there should be some additional files such as main-debug.s or so.
> Can anybody help me? Is there some more information about using GDB and 
> Mono?

Go in the mcs/class/Mono.CSharp.Debugger directory and type:
mcs -o Mono.CSharp.Debugger.dll --target library *.cs
or
../../nant/NAnt.exe (in a windows box).

Copy the resulting Mono.CSharp.Debugger.dll to /usr/local/lib or where
you store the other assemblies (where mcs will be able to load them).
The debugging instructions on the web site are sadly out of date
in other respects, too.

lupus

-- 
-----------------------------------------------------------------
[EMAIL PROTECTED]                                     debian/rules
[EMAIL PROTECTED]                             Monkeys do it better

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to