🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #564

Re: jvmti breakpoint api

#564
From: Dacong Yan
Date: Thu, 19 Mar 2009 12:59
22 lines
2119 bytes
On Mar 19, 8:29 pm, Dacong Yan <tonywinslow1...@gmail.com> wrote:
> Hi,
>
> I'm new to jvmti, and I'm trying to develop a simple
> java debugger using the breakpoint related api.
> My question is:
>    * How can I map source file level line numbers to
> `jlocation'?
>
> The problem occurred to me when I was going to
> use SetBreakpoint():
> jvmtiError
> SetBreakpoint(jvmtiEnv* env,
>             jmethodID method,
>             jlocation location)
> I don't know what value of the varible `location' should
> I pass into the function call, and how the line numbers
> specified by the user can be mapped to `jlocation'.
>
> Tony

+cn.bbs.comp.lang.java
Technical Details
Message-ID: <4f45a6bb-c7f1-48be-bf57-aa7fca9eb154@r36g2000prf.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!r36g2000prf.googlegroups.com!not-for-mail
References: <e6132c5c-e77f-41d1-a7e7-b022dc0dd495@s38g2000prg.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10a146,f510020065d7e1a8
X-Google-Thread: 10bb9b,f510020065d7e1a8
X-Google-Thread: f6cb0,c7f3d54897af602f,start
X-Google-Attributes: gid10a146,gid10bb9b,gidf6cb0,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!r36g2000prf.googlegroups.com!not-for-mail
From: Dacong Yan <tonywinslow1986@gmail.com>
Newsgroups: comp.lang.java.programmer,comp.lang.java.machine,cn.bbs.comp.lang.java
Subject: Re: jvmti breakpoint api
Date: Thu, 19 Mar 2009 05:59:26 -0700 (PDT)
Organization: http://groups.google.com
Lines: 22
Message-ID: <4f45a6bb-c7f1-48be-bf57-aa7fca9eb154@r36g2000prf.googlegroups.com>
References: <e6132c5c-e77f-41d1-a7e7-b022dc0dd495@s38g2000prg.googlegroups.com>
NNTP-Posting-Host: 211.80.59.132
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1237467596 25154 127.0.0.1 (19 Mar 2009 12:59:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 19 Mar 2009 12:59:56 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r36g2000prf.googlegroups.com; posting-host=211.80.59.132; 
 posting-account=UOciwgoAAAB7X2cEjr-Ip0Jg--kT2bz7
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.7) 
 Gecko/2009030503 Fedora/3.0.7-1.fc10 Firefox/3.0.7,gzip(gfe),gzip(gfe)