Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find private core lib source #3695

Closed
stevemessick opened this issue Jun 16, 2012 · 1 comment
Closed

Cannot find private core lib source #3695

stevemessick opened this issue Jun 16, 2012 · 1 comment
Assignees
Labels
closed-duplicate Closed in favor of an existing report
Milestone

Comments

@stevemessick
Copy link
Contributor

Running the standlone program in Debug mode resulted in failure to find source code for core library.

foo(u) { u.add(123); }

void main() {
 foo(new List<String>());
}

I was trying to provoke a type error when crossing into corelib.
DartEditor then opened a window named: "GrowableObjectArray.ad()" with the content: Source not found.

Finding the corelib source should be easy.
////////////////////////////////////////////////////////////////////////////////////
Editor: 8641
OS: Mac OS X - x86_64 (10.6.8)
JVM: 1.6.0_31

SDK installed: true
Dartium installed: true
////////////////////////////////////////////////////////////////////////////////////
!SESSION 2012-06-14 07:46:47.706 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_31
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -keyring ${user.home}/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -consoleLog -data ../../../workspace -keyring ${user.home}/.eclipse_keyring -showlocation

!ENTRY com.google.dart.tools.debug.core 4 0 2012-06-14 09:21:54.154
!MESSAGE Connection reset
!STACK 0
java.net.SocketException: Connection reset
       at java.net.SocketInputStream.read(SocketInputStream.java:168)
       at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
       at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
       at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
       at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:107)
       at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:93)
       at java.io.InputStreamReader.read(InputStreamReader.java:151)
       at com.google.dart.tools.debug.core.server.VmConnection.readJson(VmConnection.java:621)
       at com.google.dart.tools.debug.core.server.VmConnection.processVmEvents(VmConnection.java:605)
       at com.google.dart.tools.debug.core.server.VmConnection.access$1(VmConnection.java:602)
       at com.google.dart.tools.debug.core.server.VmConnection$1.run(VmConnection.java:106)
       at java.lang.Thread.run(Thread.java:680)

!ENTRY com.google.dart.tools.debug.core 4 0 2012-06-14 09:24:52.268
!MESSAGE Connection reset
!STACK 0
java.net.SocketException: Connection reset
       at java.net.SocketInputStream.read(SocketInputStream.java:168)
       at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
       at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
       at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
       at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:107)
       at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:93)
       at java.io.InputStreamReader.read(InputStreamReader.java:151)
       at com.google.dart.tools.debug.core.server.VmConnection.readJson(VmConnection.java:621)
       at com.google.dart.tools.debug.core.server.VmConnection.processVmEvents(VmConnection.java:605)
       at com.google.dart.tools.debug.core.server.VmConnection.access$1(VmConnection.java:602)
       at com.google.dart.tools.debug.core.server.VmConnection$1.run(VmConnection.java:106)
       at java.lang.Thread.run(Thread.java:680)

@devoncarew
Copy link
Member

Added Duplicate label.
Marked as being merged into #3686.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

3 participants