Skip to content

always terminated when start debug #41

@echogqq

Description

@echogqq

ocaml-compiler:4.12.0
learlybird:1.1.0

when I start debug, It always stop at some lib function exception. The I add breakpoints at the main function. Press continue(or step in, stop over), the debugger stopped. here is the log:

ocamlearlybird: [DEBUG] Message recv -- {"command":"setBreakpoints","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"lines":[59,60],"breakpoints":[{"line":59},{"line":60}],"sourceModified":false},"type":"request","seq":43}
ocamlearlybird: [DEBUG] Message sent -- {"seq":86,"type":"response","request_seq":43,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":2,"verified":false},{"id":3,"verified":false}]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":59},"type":"request","seq":44}
ocamlearlybird: [DEBUG] Message sent -- {"seq":88,"type":"response","request_seq":44,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":60},"type":"request","seq":45}
ocamlearlybird: [DEBUG] Message sent -- {"seq":90,"type":"response","request_seq":45,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":61},"type":"request","seq":46}
ocamlearlybird: [DEBUG] Message sent -- {"seq":92,"type":"response","request_seq":46,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":63},"type":"request","seq":47}
ocamlearlybird: [DEBUG] Message sent -- {"seq":94,"type":"response","request_seq":47,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":64},"type":"request","seq":48}
ocamlearlybird: [DEBUG] Message sent -- {"seq":96,"type":"response","request_seq":48,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":65},"type":"request","seq":49}
ocamlearlybird: [DEBUG] Message sent -- {"seq":98,"type":"response","request_seq":49,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":59},"type":"request","seq":50}
ocamlearlybird: [DEBUG] Message sent -- {"seq":100,"type":"response","request_seq":50,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":60},"type":"request","seq":51}
ocamlearlybird: [DEBUG] Message sent -- {"seq":102,"type":"response","request_seq":51,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":61},"type":"request","seq":52}
ocamlearlybird: [DEBUG] Message sent -- {"seq":104,"type":"response","request_seq":52,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":63},"type":"request","seq":53}
ocamlearlybird: [DEBUG] Message sent -- {"seq":106,"type":"response","request_seq":53,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":64},"type":"request","seq":54}
ocamlearlybird: [DEBUG] Message sent -- {"seq":108,"type":"response","request_seq":54,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"breakpointLocations","arguments":{"source":{"name":"main.ml","path":"/Users/echo/Desktop/fuzzing/x86binsec/binsec/src/main.ml"},"line":65},"type":"request","seq":55}
ocamlearlybird: [DEBUG] Message sent -- {"seq":110,"type":"response","request_seq":55,"success":true,"command":"breakpointLocations","body":{"breakpoints":[]}}
ocamlearlybird: [DEBUG] Message recv -- {"command":"continue","arguments":{"threadId":0},"type":"request","seq":56}
ocamlearlybird: [DEBUG] Message sent -- {"seq":112,"type":"response","request_seq":56,"success":true,"command":"continue"}
ocamlearlybird: [DEBUG] Message sent -- {"seq":113,"type":"event","event":"terminated"}
ocamlearlybird: [DEBUG] Message recv -- {"command":"disconnect","arguments":{"restart":false},"type":"request","seq":57}
ocamlearlybird: [DEBUG] Message sent -- {"seq":115,"type":"response","request_seq":57,"success":true,"command":"disconnect"}
ocamlearlybird: [DEBUG] loop end
ocamlearlybird: [INFO] Client 127.0.0.1:58326 disconnected

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions