Skip to content

Instantly share code, notes, and snippets.

@kogai
Last active August 26, 2017 06:43
Show Gist options
  • Select an option

  • Save kogai/bead2be41dd93dc7415acdf6d2effc21 to your computer and use it in GitHub Desktop.

Select an option

Save kogai/bead2be41dd93dc7415acdf6d2effc21 to your computer and use it in GitHub Desktop.
# gdb
sudo gdb ./_build/src/flow.native
(gdb) br camlFlow__main_xxxx
# lldb
lldb ./_build/src/flow.native
(lldb) br set -n camlFlow__main_xxxx
(lldb) br set -n camlCheckCommands__print_errors_1825 22
(lldb) run check "~/flowtyped-sandbox/"
(lldb) frame variable --no-args
(lldb) fr v -a
# ocamldebug
ocamldebug ./bin/flow
(ocd) set arguments check /Users/kogaishinichi/flowtyped-sandbox
(ocd) run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment