online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
''' Online Python Debugger. Code, Run and Debug Python program online. Write your code in this editor and press "Debug" button to debug program. ''' f = open('data.log', 'r') lines = f.readlines() test2Event = 'event:type=test2' testEvent = 'event:type=test' for string in lines: if testEvent in string: initPerson = string.split('initiator=')[1] #print(initPerson) person = initPerson.split(',')[0] #print(string) print(person)
2020-08-25 03:36:56.006 INFO Panda HOOK: {"event":"keepalive","time":1600.0064477} 2020-08-25 03:37:01.006 INFO Panda HOOK: {"event":"keepalive","time":1605.0066958} 2020-08-25 03:37:06.004 INFO Panda HOOK: {"event":"keepalive","time":1610.004206} 2020-08-25 03:37:11.003 INFO Panda HOOK: {"event":"keepalive","time":1615.0032498} 2020-08-25 03:37:16.005 INFO Panda HOOK: {"event":"keepalive","time":1620.0056292} 2020-08-25 03:37:21.001 INFO Panda HOOK: {"event":"keepalive","time":1625.0011002} 2020-08-25 03:37:26.007 INFO Panda HOOK: {"event":"keepalive","time":1630.0073155} 2020-08-25 03:37:31.008 INFO Panda HOOK: {"event":"keepalive","time":1635.0086481} 2020-08-25 03:37:32.687 INFO Scripting: event:type=test,initiator=Abe Lincoln,place=Washinton, 2020-08-25 03:37:21.001 INFO Panda HOOK: {"event":"keepalive","time":1625.0011002} 2020-08-25 03:37:26.007 INFO Panda HOOK: {"event":"keepalive","time":1630.0073155} 2020-08-25 03:37:31.008 INFO Panda HOOK: {"event":"keepalive","time":1635.0086481} 2020-08-25 03:37:34.414 INFO Scripting: event:type=test2,t=25277.04,type=comment,

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue