🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7849

Re: Dual Debugging

#7849
From: Joi Ellis [TeamB]
Date: Fri, 18 May 2001 14:56
21 lines
1710 bytes
David Newman <den@cyburban.com> wrote:
> Anyone
>     I have an application where I cros the boundary between C and Java
> quite often with JNI. The problem is this I want to debug across the JNI
> Boundaries.
>     I have C code that works if I am called from a C Module but fails if
> I am called from Java via JNI. I want to start a debugger in Java and
> then continue tracing even after  I get to the C modules.
>    Anyone tried this before? Perhaps with C++ Builder and JBuilder? How
> about with VC++ and JBuilder and some 3rd party debugger?
>    D Newman

I've done this once or twice using gdb to connect to the JVM shortly before
I have JB's debugger single step into the JNI call.  I don't remember the
details, though.

-- 
Joi Ellis (TeamB) 
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <3b05381c_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail
References: <3B053043.687F7529@cyburban.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,bbcbf74a655c480
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-18 08:13:09 PST
Message-ID: <3b05381c_2@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: Dual Debugging
Newsgroups: borland.public.jbuilder.java.language
References: <3B053043.687F7529@cyburban.com>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 18 May 2001 07:56:28 -0700
X-Trace: dnews 990197788 209.46.41.66 (18 May 2001 07:56:28 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail