🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #41

Re: method calls logging

#41
From: Victor Ceban
Date: Fri, 21 Jan 2005 21:19
52 lines
2511 bytes
If you have 10.000 lines of code and you would like to instantly add debug 
info ofthis type:
****
21:06:48.284 0x83d3330 040014 < com/myClass.getBegColNLP Bytecode method

21:06:48.284 0x83d3330 04000D > com/myClass.getLenColNLP Bytecode method, 
This = 0x78139f68, Signature: ()[I

21:06:48.284 0x83d3330 040014 < com/myClass.getLenColNLP Bytecode method

21:06:48.284 0x83d3330 04000D > com/myClass.getConstTypes Bytecode method, 
This = 0x78139f68,

****

All you need is an IBM JDK (available for Linux ? ) and 2 parameters to be 
added to your catalina.sh file
***

-Dibm.dg.trc.print=mt

-Dibm.dg.trc.methods=*.*

***

This has helped us find one of code in that big application that used to 
crash JVM and thus leave us no debug info.



Victor




"John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message 
news:xn0dxioumqr4t7o001@newsgroups.borland.com...
> On 1/21/2005 at 10:01:41 AM, Victor Ceban wrote:
>
>> we solved the problem by replacing the JVM from Sun's to IBM's and
>> setting just 2 parameters in the JVM.
>
> It would be nice if you would tell people what those parameters are.
>
> -- 
> Regards,
>
> John McGrath [TeamB]
>
> ---------------------------------------------------
> Before sending me e-mail, please read:
>    http://www.JPMcGrath.net/newsgroups/e-mail.html 
Technical Details
Message-ID: <41f1714e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41ed63d6$1@newsgroups.borland.com> <41edc04c@newsgroups.borland.com> <41ee6b3b$1@newsgroups.borland.com> <41ee7ae2$1@newsgroups.borland.com> <41f118d1$1@newsgroups.borland.com> <xn0dxioumqr4t7o001@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,a7b8d4ffc2d2f8a6
X-Google-Attributes: gid1089d0,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Victor Ceban" <vceban@eei1.com>
Newsgroups: borland.public.jbuilder.java.api
References: <41ed63d6$1@newsgroups.borland.com> <41edc04c@newsgroups.borland.com> <41ee6b3b$1@newsgroups.borland.com> <41ee7ae2$1@newsgroups.borland.com> <41f118d1$1@newsgroups.borland.com> <xn0dxioumqr4t7o001@newsgroups.borland.com>
Subject: Re: method calls logging
Date: Fri, 21 Jan 2005 16:19:13 -0500
Lines: 54
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 65.207.44.48
Message-ID: <41f1714e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1106342222 65.207.44.48 (21 Jan 2005 13:17:02 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail