Settings JavaBridgeSettings/en

Aus expecco Wiki (Version 2.x)
Version vom 8. Dezember 2015, 17:26 Uhr von Sv (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Java Bridge Settings == === Show JavaBridge Menu in Main Menu === If off, menu items for java bridge functions are only shown in the corresponding plugin…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Java Bridge Settings[Bearbeiten]

Show JavaBridge Menu in Main Menu[Bearbeiten]

If off, menu items for java bridge functions are only shown in the corresponding plugins submenu. If on, an extra submenu is shown in the top menu area. Disable this, if you are not (heavily) using the Java Bridge functionality, and you want to keep the menu more compact.

Use System's Default JVM[Bearbeiten]

If on, the system's default jvm is used and the JVM path below is ignored. That means, that the java VM which is found via the plain "java" command is used. This may make your test runs somewhat unreproducable, because JVMs may differ in their behavior, depending on the Java version. However, it may be useful to test default setups or to allow for a quick start, in case you don't know which JVM to use, or you don't know the installation path.

However, we recommend using a definite JVM version for real test runs, to ensure reproducable behavior.

Path to the Java Installation[Bearbeiten]

Defines the path to the JavaVM and Java libraries which are to be used. The system tries to find out itself about which Java frameworks have been installed on the system and offers those pathes in the combo list. However, if you have installed Java at a non standard or private place, either enter the path or select it using a browser dialog (click on the "..." button).

Because Java VMs may differ in their behavior and set of supported features, we recommend that you use an explicit path for reproducable test results. It may even be advisable, to use multiple tests/suites/runs which test the behavior against multiple commonly used Java installations.

Use the Builtin JavaVM for local Groovy Actions[Bearbeiten]

This is an experimental feature, which should (currently) only be enabled by expecco developers (i.e. exept staff). When enabled, the ST/X-libjava builtin JVM is used. This VM is tightly intergrated into the ST(X system itself and does not use an external (oracle-) JVM. This VM allows for much improved hot-pluggable code changes in the browser and debugger and offers a Smalltalk-like user experience to programmers. It does not support all of the newest Java features, and may therefore be not able to execute all Java programs. Please do not enable this feature in the current (2.8) version.

JDI Debugging enabled[Bearbeiten]

This checkbox is only shown if the Java Debugging Plugin is loaded, licenced and enabled.

Expecco can make use of the JDI (Java Debugging Interface) to interact with the Java VM for debugging purposes. This is especially useful to set/clear breakpoints, to single step in the tested Java application and to get more detailed information about the call stack in the debugger. However, it may affect the tested Java application's behavior, especially timing. Also, it may require appropriate security rights for the debug connection to be made.

If you encounter problems with the JDI interface, you may want to disable this feature.

Be aware that line breakpoints, single stepping in a Java application and some other features will be disabled in the debugger then. You can still place coded breakpoints (i.e. "halt();") and print statements into groovy blocks for debugging.

Confirm Close of Bridge Connections[Bearbeiten]

Especially during debugging, you may very often use the "Shutdown Bridge Connections" menu item from the main menu. By default, this operations must be confirmed by a dialog window, which may be annoying. This checkbox allows for the confirmation dialog to be suppressed.



Copyright © 2014-2024 eXept Software AG