You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Thai Thien (JIRA)" <ji...@apache.org> on 2019/05/07 08:22:00 UTC

[jira] [Commented] (NETBEANS-2440) Cannot Debug Focused Test Method with project created by Netbean 8.2 in Netbean 11

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

Thai Thien commented on NETBEANS-2440:
--------------------------------------

There is work around by edit the project file: 

Edit nbproject/build-impl.xml then make sure 2 following line is available in file (I think most case, first line is already there, you need the second line)

 
<targetdepends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method"name="debug-test-method"/>
 
<targetdepends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method"name="debug-single-method"/>

> Cannot Debug Focused Test Method with project created by Netbean 8.2 in Netbean 11
> ----------------------------------------------------------------------------------
>
>                 Key: NETBEANS-2440
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2440
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 8.2, 11.0
>            Reporter: Thai Thien
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> How to reproduce:
>  # Create project with Netbean 8.2 
>  # Create test method in Netbean 8.2 (right click -> Tools -> create/update tests) 
>  # Select (highlight) a method in test, right click -> Debug Focused Test Method. Make sure it can run with Netbean 8.2
>  # Close Netbean 8.2 
>  # Open project with Netbean 11.0 
>  # Select (highlight) a method in test, right click -> Debug Focused Test Method. Make sure it can run with Netbean 8.2
>  # it show error 
> Target "debug-single-method" does not exist in the project "your project name"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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