pop the loop block even for infinite while loops (closes #23048)
diff --git a/Misc/NEWS b/Misc/NEWS
index 3f86e90..c0c8603 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,8 @@
 Core and Builtins
 -----------------
 
+- Issue #23048: Fix jumping out of an infinite while loop in the pdb.
+
 Library
 -------