Added a new function to the IDE to shorten debugging time

This commit is contained in:
Jeremiah Orians 2016-08-20 20:36:56 -04:00
parent 7f8ec809f6
commit 63c2e03b07
No known key found for this signature in database
GPG Key ID: 7457821534D2ACCD
2 changed files with 8 additions and 0 deletions

View File

@ -63,6 +63,13 @@ class StringGenerator(object):
UI.Current_Page = 0 UI.Current_Page = 0
return UI.returnPage() 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__': if __name__ == '__main__':
conf = { conf = {
'/': { '/': {

View File

@ -76,6 +76,7 @@ def get_header():
<a href="PAGEUP"><button type="button">PAGE UP</button></a> <a href="PAGEUP"><button type="button">PAGE UP</button></a>
<a href="STEP"><button type="button">STEP</button></a> <a href="STEP"><button type="button">STEP</button></a>
<a href="RESET"><button type="button">RESET</button></a> <a href="RESET"><button type="button">RESET</button></a>
<a href="SPEEDBREAKPOINT"><button type="button">Run Until Breakpoint</button></a>
</div> </div>
<div> <div>
<div style="height:230px; width:60%; float:left; overflow-y: scroll;"> <div style="height:230px; width:60%; float:left; overflow-y: scroll;">