[ 
https://issues.apache.org/jira/browse/MNG-7358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462040#comment-17462040
 ] 

Odne Hellebø edited comment on MNG-7358 at 12/19/21, 12:25 AM:
---------------------------------------------------------------

Sorry. I've been switching between shells so I forgot to unalias my 
mvnDebug(Git).

So when I did my last tests with mvnDebug I was using surefire and not what was 
in the mvnDebug script.

https://termbin.com/1q33 is the output when I do {code:sh}mvnDebug test{code} 
and attach eclipse, and I got the same output when connecting intellij.

And the current version is: 
{code:sh}
$ mvn --version
Picked up _JAVA_OPTIONS:  -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true 
-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Apache Maven 3.8.4 (82fa288cd4d98612c4240ab9774cb76c68f7ee2d)
Maven home: /opt/maven
Java version: 1.8.0_292, vendor: Oracle Corporation, runtime: 
/usr/lib/jvm/java-8-openjdk/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "5.15.10-arch1-1", arch: "amd64", family: "unix"
{code}

This is how surefire output looks for reference https://termbin.com/pc7n, same 
for intellij and eclipse.



was (Author: JIRAUSER281453):
Sorry. I've been switching between shells so I forgot to unalias my 
mvnDebug(Git).

So when I did my last tests with mvnDebug I was using surefire and not what was 
in the mvnDebug script.

https://termbin.com/sdu8 is the output when I do {code:sh}mvnDebug test{code} 
and attach eclipse, and I got the same output when connecting intellij.

And the current version is: 
{code:sh}
$ mvn --version
Picked up _JAVA_OPTIONS:  -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true 
-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Apache Maven 3.8.4 (82fa288cd4d98612c4240ab9774cb76c68f7ee2d)
Maven home: /opt/maven
Java version: 1.8.0_292, vendor: Oracle Corporation, runtime: 
/usr/lib/jvm/java-8-openjdk/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "5.15.10-arch1-1", arch: "amd64", family: "unix"
{code}

This is how surefire output looks for reference https://termbin.com/pc7n, same 
for intellij and eclipse.


> Can't debug with mvnDebug with version 4
> ----------------------------------------
>
>                 Key: MNG-7358
>                 URL: https://issues.apache.org/jira/browse/MNG-7358
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 4.0.x-candidate
>         Environment: Linux
> 3.8.3
> $ mvn --version
> Picked up _JAVA_OPTIONS:  -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
> Apache Maven 3.8.3 (NON_CANONICAL)
> Maven home: /opt/maven
> Java version: 1.8.0_292, vendor: Oracle Corporation, runtime: 
> /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux", version: "5.15.5-arch1-1", arch: "amd64", family: "unix"
> 4.0.0
> Picked up _JAVA_OPTIONS:  -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
> Apache Maven 4.0.0-alpha-1-SNAPSHOT (3a06530dbce82e2054afa3cc4c81631910474bd0)
> Maven home: /opt/maven-git
> Java version: 1.8.0_292, vendor: Oracle Corporation, runtime: 
> /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux", version: "5.15.5-arch1-1", arch: "amd64", family: "unix"
>            Reporter: Odne Hellebø
>            Assignee: Michael Osipov
>            Priority: Minor
>         Attachments: image-2021-12-11-21-55-46-230.png, intellijDebug.png, 
> mvnDebugGit.zip, screenshot-1.png
>
>
> When using mvnDebug at version 4, it just skips all the breakpoints in 
> intellij.
> These are the settings in intellij
>  !intellijDebug.png! 
> To reproduce just set some breakpoints in test, and then run
> {code:bash}mvnDebug test{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to