Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion [Scala 2.1 IDE for Scala 2.10M5] - debugger does not show local variables
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ant Kutschera  
View profile   Translate to Translated (View Original)
 More options Aug 19 2012, 9:34 am
From: Ant Kutschera <ant.kutsch...@gmail.com>
Date: Sun, 19 Aug 2012 06:34:40 -0700 (PDT)
Local: Sun, Aug 19 2012 9:34 am
Subject: Re: [scala-ide-user] [Scala 2.1 IDE for Scala 2.10M5] - debugger does not show local variables

I don't think I've restarted Eclipse 3.7.2, and with the following class I
have the problem that if I set a break point at the line "out.close", I
cannot see variable "data" in the variable view.

import java.io.Serializable
import java.rmi.Remote
import java.io.ByteArrayOutputStream
import java.io.ObjectOutputStream

object ChapterTwoAnnotations extends App {

    @scala.SerialVersionUID(1L)
    @scala.cloneable
    @scala.remote
    class SomeGreatScalaClass extends Serializable  {
        override def clone = super.clone
    }

    val obj = new SomeGreatScalaClass

    val bos = new ByteArrayOutputStream
    val out = new ObjectOutputStream(bos)
    val data = out.writeObject(obj)
    out.close

    val copy = obj.clone

    print("done, serialised it was " + data + " and cloned it was " +
System.identityHashCode(copy) + " compared to " +
System.identityHashCode(obj))

}


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.