Embedded API debugging

Jonathan Mitchell <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <[email protected]>
I am using the Mono embedded API on OS X and want to be able to step down into libmonoboem et al to help clear up some issues.

on OS X my 64 bit build command is like so:

./configure --prefix=/Library/Frameworks/Mono64.framework/Versions/3.2.3 --enable-nls=no
make
sudo make install

How do I configure a build that includes sufficient symbol and source line number info to enable stepping into the embedded API using Xcode 6?
I know that this is likely elementary but it it differs from my normal Cocoa framework build experience! 
symbols(1) shows some basic symbol info but no source line number text section.

An extract from  makefile shows that -g is defined :

CC = gcc
CCAS = gcc
CCASDEPMODE = depmode=gcc3
CCASFLAGS = -g -O2
CCDEPMODE = depmode=gcc3
CC_FOR_BUILD = gcc
CFLAGS = -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Qunused-arguments -Wno-unused-function -Wno-tautological-compare -Werror-implicit-function-declaration
CFLAGS_FOR_BUILD = -g -O2

I already know how to debug the managed code using the Mono soft debugger.

Thanks

J














_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.