Re: [Ikvm-developers] DLL generated using IKVMC causes Visual Studio 2008 Debugger to terminate abn
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2009-04-27 08:48:50
|
Hi Rolan,
I don't know what's going on. Some questions:
- does the project include native code?
- could it be a stack overflow?
- could any code be calling System.exit()?
Regards,
Jeroen
________________________________
From: rol...@ma... [rol...@ma...]
Sent: Sunday, April 26, 2009 7:20 PM
To: ikv...@li...
Subject: [Ikvm-developers] DLL generated using IKVMC causes Visual Studio 2008 Debugger to terminate abnormaly
Hi all,
When I try to debug the .Net application which calls an IKVMC generated dll, the debugger will unexpectedly crash in an unexpected point.
- The crashes will start only after a call to the code from the IKVMC generated dll (even if it was done in run, not in step-over).
- The crash can be one of the following:
- Returning control to the running application as if you pressed F5
- The running application would quit with no error.
- The debugger stays in debug mode, with no control, and the application form closes.
- The line where the debugger crashes doesn't have to contain a reference to the code from the dll.
for example i made a For loop that does multiple Debug.print(), and it would randomly stop in different lines
- "Enable unmanaged code debugging" checkbox in the project properties doesn't help, thuogh for some projects it helped.
- Tried the IKVM 38 build, didn't solve the problem.
- Tried using the -debug command line switch to generated the pdb files for the studio debugger, but it didn't help neither.
About my app:
Using visual studio 9 SP1
java version 1.4.2
I generate DLL's using IKVMC.0.36
The java application consists of JAXB, xml manipulations, and MQSeries calls, using the following jars:
jaxb-impl-1.0.6.jar, jaxb-api-1.0.1.jar,connector-1.0.jar , com.ibm.mq-6.0.0.jar, jax-qname-1.1.jar, namespace-1.0.1.jar, xsdlib-1.0.jar, relaxngDatatype-1.0.jar, xercesImpl-2.6.2.jar
The java code has multiple modules, mainModule, and subModule1, subModule2, submodule3.... etc.
The main module is built using the command:
ikvmc.exe -out:mainModule.dll -target:library -keyfile:XXX.key mainModule.jar jaxb-impl-1.0.6.jar com.ibm.mq-6.0.0.jar....
The sub-module built using the command:
ikvmc.exe -out:subModule.dll -target:library -keyfile:XXX.key -reference:mainModule.dll subModule.jar
thanks in advance,
Rolan.
****************************************************************************
This message and its attachments are designated solely for the addressee.
They contain information that may be privileged and protected by law.
Duplication or distribution of this information in any manner is prohibited by law.
If you receive this document or information and it is not addressed to you, it must be
deleted from your system forthwith.
In such case, kindly inform us of this event as soon as practicable..
****************************************************************************
|