[vmkit-commits] debug mixed Java and C code

Koutheir Attouchi koutheir at gmail.com
Mon Jul 2 08:31:01 PDT 2012


I think Nicolas Geoffray should have the answer to your question. Because
you should have an idea about how this process is designed before starting
debugging the source code. I didn't address this area, but I did the
debugging you talk about.

Koutheir ATTOUCHI.
LinkedIn profile: http://www.linkedin.com/in/koutheirattouchi
Blog: http://koutheir.blogspot.com




On Mon, Jul 2, 2012 at 4:10 PM, Tang, Wei <tangwei.ict at gmail.com> wrote:

>  For example JNI handling,  I want to investigate what the call stack
> looks like if vmkit failed to
> load a JNI shared library.  I guessed the process should be
> vmkit -> execuateClass -> calling java system loadlibrary in Runtime.java
> -> a exception is thrown when load failing.
>
> How can I debug this process easily?
>
> Another question, the exception handling in vmkit is based on
> setjmp/longjmp?
>
> Regards!
> wei
>
>
>
> On 07/02/2012 09:20 PM, Koutheir Attouchi wrote:
>
> Please explain your exact problem. General debugging of Java and C++
> source code (and eventually assembly) is a very broad topic.
>
> Koutheir ATTOUCHI.
> LinkedIn profile: http://www.linkedin.com/in/koutheirattouchi
> Blog: http://koutheir.blogspot.com
>
>
>
>
> On Mon, Jul 2, 2012 at 3:00 PM, Tang, Wei <tangwei.ict at gmail.com> wrote:
>
>>  Would you share more details or point me to useful resource?
>> Thanks in advance!
>>
>> Regards!
>> wei
>>
>> On 07/02/2012 08:39 PM, Koutheir Attouchi wrote:
>>
>> Yes, I do.
>>
>> Koutheir ATTOUCHI.
>> LinkedIn profile: http://www.linkedin.com/in/koutheirattouchi
>> Blog: http://koutheir.blogspot.com
>>
>>
>>
>>
>> On Mon, Jul 2, 2012 at 1:47 PM, Tang, Wei <tangwei.ict at gmail.com> wrote:
>>
>>> Hi guys,
>>>    Due to some files in Classpath implemented in Java, for example
>>> runtime.java, and files in vmkit implemented in C/C++. Anybody has
>>> experience in debugging such mixed code project.
>>>
>>>
>>> Regards!
>>> wei
>>> _______________________________________________
>>> vmkit-commits mailing list
>>> vmkit-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>>>
>>
>>
>>
>> _______________________________________________
>> vmkit-commits mailing listvmkit-commits at cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>>
>>
>>
>> _______________________________________________
>> vmkit-commits mailing list
>> vmkit-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>>
>>
>
>
> _______________________________________________
> vmkit-commits mailing listvmkit-commits at cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/vmkit-commits/attachments/20120702/fe434dfc/attachment.html>


More information about the vmkit-commits mailing list