[Mono-list] Debuggin crosscompiled Binary

crosscompile Studivz at Flammfest.com
Fri May 20 17:16:34 EDT 2011


Hi,
my Application crashes when I start some calls to winmm.dll, and I don't
have a clue where. So I like to step through the program. 

The Binary that crashes is a build of Linux continues build server, which is
compiling for Windows.
The Program runs fine when I compile on Windows via Mono.
So I need to attach to the Binary that is build on the Linux machine and
running on a Windows System to figure out what's wrong. 
How can I do that?

My guess is that the Application is not getting access to the winmm.dll
correctly, cause I get callstack below. Unfortunately it's to unsharp so I
guess debugging would help me to pinpoint the Issue here.

Exception classes:   
   System.NullReferenceException
Exception messages: 
   Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.Exception
StackTrace: 
   bei WaveLib.WaveNative.waveOutOpen(IntPtr& hWaveOut, Int32 uDeviceID,
WaveFormat lpFormat, WaveDelegate dwCallback, Int32 dwInstance, Int32
dwFlags)
   bei WaveLib.WaveOutPlayer..ctor(Int32 device, WaveFormat format, Int32
bufferSize, Int32 bufferCount, BufferFillEventHandler fillProc)

Someone got a clue?
Thanks in advance.
Cheers,
Ruben

--
View this message in context: http://mono.1490590.n4.nabble.com/Debuggin-crosscompiled-Binary-tp3539615p3539615.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list