[ https://issues.apache.org/jira/browse/NETBEANS-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16834497#comment-16834497 ]
Thai Thien edited comment on NETBEANS-2440 at 9/4/19 7:48 AM: -------------------------------------------------------------- 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) <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/> <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-single-method"/> was (Author: tthien): 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 (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists