[Mono-list] Embedded API debugging
Jonathan Mitchell
jonathan at mugginsoft.com
Sat May 9 10:00:10 UTC 2015
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
More information about the Mono-list
mailing list