Article View: borland.public.jbuilder.debugger
Article #279Re: JNI calls in DEBUG PROJECT mode
From: Brendan
Date: Tue, 25 Nov 2003 11:13
Date: Tue, 25 Nov 2003 11:13
38 lines
2273 bytes
2273 bytes
Jeffrey Oelschlegel <jeff.oelschlegel@mactiveinc.com> wrote in message news:<3FB11241.91D2BDAE@mactiveinc.com>... > MORE INFORMATION: > > I forgot to mention... the DLL that contains the wrapper for the legacy code (and the legacy code) > were built using Borland C++ Builder 5. I set up the project properties to use the STDCALL format > > Thanks in advance > > > > Jeffrey Oelschlegel wrote: > > > Hey All, > > > > Im currently using JBuilder 8 and Im trying to incorporate some > > legacy code using JNI. When I run under the debug mode (i.e DEBUG PROJECT), I get a trap when the JNI code is executed > > however, when I run under the ide in non-debug mode (i.e. RUN PROJECT) it appears to work just fine. If I run it standalone under > > JBOSS .. again.. everything is fine. > > > > I was wondering if anyone has seen this....or there is a workaround... > > > > Below is an example of what occurs > > > > Unexpected Signal : EXCEPTION_FLT_STACK_CHECK occurred at PC=0x9ED492 > > Function=[Unknown.] [snip] Hi there! I ran into a very similar problem (not using JBuilder but plain SDK 1.4.2 and JNI in remote debug mode on WIN2k). There are several bug reports in SUN's bug database, but the ones I've seen all end with the remark that SUN can't reproduce the problem. If you make any progress let me know, I'll do the same. L8R Brendan
Technical Details
Message-ID:
<dd0ea264.0311250313.562c5390@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<3FB10DBF.B81E1F6C@mactiveinc.com> <3FB11241.91D2BDAE@mactiveinc.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5c5,4f7d846a607cd52a X-Google-Attributes: gidff5c5,public X-Google-ArrivalTime: 2003-11-25 03:13:12 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: brendan@gen.nl (Brendan) Newsgroups: borland.public.jbuilder.debugger Subject: Re: JNI calls in DEBUG PROJECT mode Date: 25 Nov 2003 03:13:12 -0800 Organization: http://groups.google.com Lines: 38 Message-ID: <dd0ea264.0311250313.562c5390@posting.google.com> References: <3FB10DBF.B81E1F6C@mactiveinc.com> <3FB11241.91D2BDAE@mactiveinc.com> NNTP-Posting-Host: 212.123.209.35 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069758792 8379 127.0.0.1 (25 Nov 2003 11:13:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 25 Nov 2003 11:13:12 +0000 (UTC)