Hi,

I was trying this debugger but i stumbled upon the following error when 
starting debug:

Unhandled Exception: Monobjc.ObjectiveCException: The 'libmonobjc.2.dylib' 
library was not found. Please check that you have correctly installed it. ---> 
System.DllNotFoundException: @executable_path/libmonobjc.2.dylib
  at (wrapper managed-to-native) 
Monobjc.Runtime.ObjectiveC20.NativeMethods:hook_thread_lifecycle ()
  at Monobjc.Runtime.ObjectiveC20.ObjectiveC20Bridge.HookThreadLifecycle () 
[0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Monobjc.Runtime.ObjectiveC20.ObjectiveC20Bridge.HookThreadLifecycle () 
[0x00000] in <filename unknown>:0 
  at Monobjc.Runtime.RuntimeBridge.get_Current () [0x00000] in <filename 
unknown>:0 
  at (wrapper synchronized) Monobjc.Runtime.RuntimeBridge:get_Current ()
  at Monobjc.ObjectiveCRuntime.DefineClass (System.Type type) [0x00000] in 
<filename unknown>:0 
  at Monobjc.ObjectiveCRuntime.ScanAssembly (System.Reflection.Assembly 
assembly) [0x00000] in <filename unknown>:0 

What am i missing here ?

Also : When i am trying to mkbundle my appl on snow leopard i am getting all 
sorts of error messages and the mac executable does not seem to get build. The 
errors are all of the following form :
 [mkbundle] 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0/mono/metadata/assembly.h:4:18:
 error: glib.h: No such file or directory
 [mkbundle] In file included from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0/mono/metadata/assembly.h:6,
 [mkbundle] 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0/mono/metadata/image.h:4:19:
 error: stdio.h: No such file or directory
 [mkbundle] In file included from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0/mono/metadata/assembly.h:6,

 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0/mono/metadata/image.h:9:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
 [mkbundle] 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0/mono/metadata/image.h:19:
 error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
 [mkbundle] 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0/mono/metadata/image.h:38:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 [mkbundle] 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0/mono/metadata/image.h:40:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 [mkbundle] 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0/mono/metadata/image.h:42:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token

Any ideas ? I did a clean install of my dev environment, so i am gessing i have 
forgotten something....

Br,

Mario
On 16 Mar 2010, at 14:40, Laurent Etiemble wrote:

> Hello,
> 
> A MonoDevelop integration is now available: 
> http://www.monobjc.net/index.php?page=monodevelop-integration
> 
> Regards, Laurent Etiemble.
> 
> 2010/1/9 Rufus Buschart <rufus.busch...@gmail.com>
> Hello,
> 
> I would like to ask you, what you recommend as the most simplest way to debug 
> C#/mono using the Monobjc library. After some long hours I found out, that 
> I'm able to compile Monobjc applications from within Monodevelop. Also I 
> found out that these application even run, if you structure the output as an 
> application bundle and start the bundle from the Finder or from Terminal. But 
> every time when I try to execute them with the integrated debugger of 
> Monodevelop I get the "Error loading NIB"-Message, which is discussed a 
> couple of times in the archive of this mailing list.
> 
> So how do you debug your applications?
> 
> Maybe we get this "Error loading NIB"-problem fixed, if we set some parameter 
> correctly? I would love to get the integrated debugger of Monodevelop working 
> with Monobjc.
> 
> I'm fairly new to Monobjc and developing in Cocoa but I do have 5+ years of 
> professional development background in .net/C# under Windows.
> 
> Best regards,
> 
> Rufus
> 
> 
> What we do in life, echoes in eternity.
> ===========================================
> Rufus J.W. Buschart  ICQ#: 47136206
> Kirchenstr. 8      http://www.buschart.de
> 91054 Erlangen
> Phone: +49 (0)9131 - 530 15 85
> Mobile: +49 (0)176 - 701 800 81
> Sent from Nuremberg, BY, Deutschland
> 

Reply via email to