You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/08/25 17:24:22 UTC

[GitHub] [netbeans] entlicher commented on a change in pull request #3119: Restart frame action implemented in the DAP.

entlicher commented on a change in pull request #3119:
URL: https://github.com/apache/netbeans/pull/3119#discussion_r695960220



##########
File path: ide/spi.debugger.ui/src/org/netbeans/spi/debugger/ui/DebuggingView.java
##########
@@ -508,6 +508,36 @@ default String getSourceMimeType() {
          * @since 2.65
          */
         int getColumn();
+
+        /**
+         * Pop all frames up to and including this frame off the stack.
+         *
+         * @throws UnsupportedOperationException thrown when popping of stack frames is not supported.
+         * @throws PopException when the pop frame operation fails.
+         * @since 2.70
+         */
+        default void popOff() throws UnsupportedOperationException, PopException {
+            throw new UnsupportedOperationException("The frame pop is not supported.");

Review comment:
       The two exceptions allow the clients to distinguish whether pop frame is supported or not. The UI feedback to the user might differ.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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

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