From 63c2e03b0709e50446efca59fb8ee8a81bf344e7 Mon Sep 17 00:00:00 2001 From: Jeremiah Orians Date: Sat, 20 Aug 2016 20:36:56 -0400 Subject: [PATCH] Added a new function to the IDE to shorten debugging time --- Knight.py | 7 +++++++ User_Interface.py | 1 + 2 files changed, 8 insertions(+) diff --git a/Knight.py b/Knight.py index 27117cf..f8cb61f 100755 --- a/Knight.py +++ b/Knight.py @@ -63,6 +63,13 @@ class StringGenerator(object): UI.Current_Page = 0 return UI.returnPage() + @cherrypy.expose + def SPEEDBREAKPOINT(self): + UI.Step_lilith() + while UI.Current_IP not in UI.Watchpoints: + UI.Step_lilith() + return UI.returnPage() + if __name__ == '__main__': conf = { '/': { diff --git a/User_Interface.py b/User_Interface.py index f6ffdd9..ae887e2 100644 --- a/User_Interface.py +++ b/User_Interface.py @@ -76,6 +76,7 @@ def get_header(): +