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

Enabling Maven debug options #258

Merged
merged 2 commits into from
Feb 5, 2018
Merged

Conversation

dukescript
Copy link
Contributor

Contribution to #254 - enabling the -Drobovm.debug and -Drobovm.debugPort options again. The debugger seems to start and listens or connects.

@@ -82,7 +82,7 @@ public void beforeLaunch(Config config, LaunchParameters parameters) {

String logDir = argumentValue(arguments, ARG_KEY_LOG_DIR, config.getTmpDir().getAbsolutePath());
int jdwpPort = argumentIntValue(arguments, ARG_KEY_JDWP_PORT);
boolean jdwpClientMode = argumentBoolValue(arguments, ARG_KEY_CLIENT_MODE);
boolean jdwpClientMode = argumentValue(arguments, ARG_KEY_CLIENT_MODE, false);
Copy link
Contributor Author

@dukescript dukescript Jan 29, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The client mode option shall be optional, I guess.

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.2</version>
<version>3.5</version>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Necessary to let the .class file analyzer to process JDK8 files with lamdas.

<dependency>
<groupId>com.mobidevelop.robovm</groupId>
<artifactId>robovm-debugger</artifactId>
<version>${project.version}</version>
Copy link
Contributor

@dkimitsa dkimitsa Jan 31, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove version from here and add reference to debugger in <dependencyManagement> of plugins/maven/pom.xml

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 8494951.

@florianf
Copy link
Collaborator

florianf commented Feb 2, 2018

@dkimitsa is this mergeable?

@dkimitsa
Copy link
Contributor

dkimitsa commented Feb 3, 2018

@florianf it looks ok for me

@florianf florianf merged commit 6f1668d into MobiVM:master Feb 5, 2018
@dkimitsa dkimitsa mentioned this pull request May 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants