EUnit seems broken

When trying tu run the empty EUnit project generated by the New Project Dialog
of Visual Studio, i get some problems:
When launching on an emualted device, the emulator crashes before it finishes launching.
When launching on a connected real device (Android 4.3), the following happens:
Running the APP without debugger, simply results in crash on startup.
Running the APP with Debugger, results in a modal window from Visual Studio popping up which really wants to break(no option, not to set a breakpoint) and saying:
An exception of type: java.lang.RuntimeException occurred
Message: {java.lang.RuntimeException: Unable to start activity ComponentInfo{org.me.androidapplication1/org.me.androidapplication1.MainActivity}: java.lang.IllegalArgumentException: savedInstanceState}
at ActivityThread.performLaunchActivity()
ActivityThread.handleLaunchActivity()
ActivityThread.access$700()
ActivityThread$H.handleMessage()
Handler.dispatchMessage()
Looper.loop()
ActivityThread.main()
Method.invokeNative()
Method.invoke()
ZygoteInit$MethodAndArgsCaller.run()
ZygoteInit.main()
NativeStart.main()

When I do break, the debugger(or its frontend) gets confused and says:The current stack frame was not found in a loaded module. Source cannot be shown for this location. I can see the disassembly, if i wanted and doing that results in no disassembly available…

Everything works as expected as soon as the project doesn’t mention EUnit anymore.

I get similar behavior when trying eunit on Fire
Version info:
Microsoft Visual Studio 2015 Shell (Integrated)
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.01590

Installed Version: IDE Standard

RemObjects Elements 9.0.97.2071
RemObjects Elements (Oxygene, C# and Silver) for .NET, Cocoa and Java.
Copyright 2003-2016 RemObjects Software, LLC. All rights reserved.
http://www.remobjects.com/elements

RemObjects Elements leverages the LLVM compiler backend:
Copyright © 2003-2016 University of Illinois at Urbana-Champaign. All rights reserved.
http://llvm.org

RemObjects Everwood 4.7.79.695
RemObjects Everwood
Copyright RemObjects Software, LLC 2002-2016. All Rights Reserved.
http://www.remobjects.com/everwood

Thanks, logged as bugs://77127

I just tried this. Simulator 4.4. When I run it I get an empty page (with org.me.testapplication2) and in the output

LogCat: 01-23 17:01:08.786 1548 1548 I System.out: Test suite (0 tests) started
LogCat: 01-23 17:01:08.787 1548 1548 I System.out: Test suite (0 tests) finished. State: Succeeded.
LogCat: 01-23 17:01:08.787 1548 1548 I System.out: ======================================
LogCat: 01-23 17:01:08.788 1548 1548 I System.out: 0 succeeded, 0 failed, 0 skipped, 0 untested

when I run this without the debugger I get the same. Looks like:

what am I missing? (Tried both Oxygene & Silver)

bugs://77127 got closed with status cannotrepro.

Try the attached project, please. If that works for you, it’s probably s.th. on my system.org.me.testapplication1.zip (1.5 MB)

I wonder if you happen to have an older version than I do, that would cause this.

I get:

Severity Code Description Project File Line Suppression State
Error (E584) Cannot find type “remobjects.elements.rtl.String” from library “elements” referenced by “remobjects.elements.eunit” org.me.testapplication1 0
Error (E584) Cannot find type “remobjects.elements.rtl.String” from library “elements” referenced by “remobjects.elements.eunit” org.me.testapplication1 0

which makes sense, but makes me wonder if you use an older version of eunit. However 1 other fix i had to do is, change the onCreate signature to this:

public override func onCreate(_ savedInstanceState: Bundle!) {

else I get the error you had.

This is the eunit project template, that comes with the currently downloadable version of the silver/visualstdio package… at least as far as i can tell. I did not fiddle around with the compiler or included libraries.
the name of the setup executable was: RemObjects Elements with Visual Studio 2015 - 9.0.97.2071.exe
although that is not entirely correct, because on download, the filename was %-encoded, so the whitespaces of the filename were all %20
exact version info:
Microsoft Visual Studio 2015 Shell (Integrated)
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00081

Installed Version: IDE Standard

RemObjects Elements 9.0.97.2071
RemObjects Elements (Oxygene, C# and Silver) for .NET, Cocoa and Java.
Copyright 2003-2016 RemObjects Software, LLC. All rights reserved.
http://www.remobjects.com/elements

RemObjects Elements leverages the LLVM compiler backend:
Copyright © 2003-2016 University of Illinois at Urbana-Champaign. All rights reserved.
http://llvm.org

RemObjects Everwood 4.7.79.695
RemObjects Everwood
Copyright RemObjects Software, LLC 2002-2016. All Rights Reserved.
http://www.remobjects.com/everwood

9.0 EUnit used Sugar, Carlo. only the recent beta switched to Elements RTL.

So… when is your next release due?

We don’t have an exact timeline for our “H class” release yet, probably April or May. however, we do have weekly betas that already include the new EUnit and Elements RTL.

Logged as bugs://i64891.

bugs://i64891 was closed as unable to reproduce.