You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Pieter van den Hombergh (Jira)" <ji...@apache.org> on 2019/10/21 12:58:00 UTC

[jira] [Commented] (NETBEANS-3261) debug test is grayed out in maven projects; debug test method not offered

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

Pieter van den Hombergh commented on NETBEANS-3261:
---------------------------------------------------

Annoyance is enough to make me investigate further.
So here is what I did:
* Create a new fresh account on my test machine.
* Made java 11 my default by setting  JAVA_HOME=/usr/lib/jvm/jdk-11.0.3/
* _JAVA_OPTIONS=-Dawt.useSystemAAFontSettings=gasp to reduce the font ugliness (colour fringes in fonts) (from https://wiki.archlinux.org/index.php/Java_Runtime_Environment_fonts)
* checkout  my maven projects for this user.

Now the test-debigging works as I wanted.

To recreate this effect for my orginal user I erase my ~/.netbeans/ folder , the .~/cache/netbeans folder and the ~/.java folder,
applied the settings as above. Now it seems to work, at least with jdk 11, which is fine for now.


> debug test is grayed out in maven projects; debug test method not offered
> -------------------------------------------------------------------------
>
>                 Key: NETBEANS-3261
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3261
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: debugger - Java
>    Affects Versions: 11.2
>         Environment: ubuntu 18.04, java 8, java 11
>            Reporter: Pieter van den Hombergh
>            Priority: Trivial
>
> In ant projects, right-click on a unit test file allowed to select debug-test. Debug test is now grayed out.
> This morning I experienced a different behavior, that is, debug-test was possible, and even nicer, in the unit test output window, one can select debug specific method,  which made me very happy. It cannot get this behavior back, not with java 8 nor with 11 or 12.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists