« Return to Thread: [scala-tools] eclipse plugin -Xprint and java disassembly

[scala-tools] eclipse plugin -Xprint and java disassembly

by Naftoli Gugenheim :: Rate this Message:

Reply to Author | View in Thread

Sure, double-click on the class file in the output folder from the Navigator view.
In general, it would be nice if eclipse could tell me the scala command line it generates so I could paste it in a command line and modify it, e.g. for the OP's use case, or to get around the fact that I don't seem to have enough memory to run the interpreter inside eclipse, etc.




From: Nicholas Tung <ntung@...>
Sent: Wednesday, June 03, 2009 7:39 PM
To: Miles Sabin <miles@...>
Cc: scala-tools@...
Subject: Re: [scala-tools] eclipse plugin -Xprint and java disassembly

On Wed, Jun 3, 2009 at 16:35, Miles Sabin <miles@...> wrote:
On Thu, Jun 4, 2009 at 12:07 AM, Nicholas Tung <ntung@...> wrote:
>     Is there a way to view the output of scalac's -Xprint (particularly the
> lowest, -Xprint:jvm)

Not at the moment, no.

Sure. It might be a nice feature in the future.
 

> and java disassembly (e.g. through javap or Dava) using
> the eclipse plugin?

Doesn't Eclipse's built in classfile viewer do this job for you?
Failing that, I'm pretty sure there are several very capable bytecode
disassembler plugins around.

That's great, thanks! I'm pretty new to Eclipse, sorry.

Nicholas

 « Return to Thread: [scala-tools] eclipse plugin -Xprint and java disassembly