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



##########
File path: 
ide/spi.debugger.ui/src/org/netbeans/spi/debugger/ui/DebuggingView.java
##########
@@ -326,6 +338,37 @@ public final void 
removePropertyChangeListener(PropertyChangeListener pcl) {
          */
         public void makeCurrent();
 
+        /**
+         * Get frame count of this thread. The frame count is provided when 
the thread
+         * is suspended only.
+         * @return the frame count, <code>0</code> when the thread is running.
+         */
+        public default int getFrameCount() {
+            return 0;
+        }
+
+        /**
+         * Get the stack frames of this thread. Stack frames are provided when 
the thread
+         * is suspended only.
+         *
+         * @return a list of stack frames, it's empty when the thread is 
running.
+         */
+        public default List<DVFrame> getFrames() {

Review comment:
       Right.




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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to