From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13972 invoked by alias); 4 Aug 2003 18:59:31 -0000 Mailing-List: contact eclipse-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: eclipse-owner@sources.redhat.com Received: (qmail 13948 invoked from network); 4 Aug 2003 18:59:29 -0000 To: Jonathan LaCour Cc: eclipse@sources.redhat.com Subject: Re: good work, JUnit help References: From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: I've read SEVEN MILLION books!! Date: Mon, 04 Aug 2003 18:59:00 -0000 In-Reply-To: Message-ID: <87znipl0gu.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q3/txt/msg00018.txt.bz2 >>>>> "Jonathan" == Jonathan LaCour writes: Jonathan> But, I have a problem when I try to run a JUnit test, it errors out Jonathan> with the following console message: I don't think I've tried that yet. Could you post the full stack trace? Usually it ends up in workspace/.metadata/.log. That might be useful. Anyway, an entry in the RH bugzilla would be useful. Something like this has a pretty good chance of actually being fixed. Jonathan> If I get my unit tests working, then I will definitely be Jonathan> able to use this on a daily basis. Any idea how to fix this Jonathan> problem? Sometimes these things represent real gcj bugs. So then it is just the usual debug-fix cycle. You can use gdb on eclipse, though it isn't always that easy -- gdb's support for both gcj and .so-using-applications is pretty weak :-( The situation is much worse if the code in question is not compiled. In that case the debugging is really hard; you have to step through the bytecode interpreter by hand, look at the `jcf-dump' output, and map that back to the source code. Debugging prints are easier... Tom