Skip to content

Commit

Permalink
added hl_breakpoint()
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed Nov 23, 2016
1 parent 8dc38b3 commit daa4592
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/std/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,10 @@ HL_PRIM void hl_fatal_fmt( const char *file, int line, const char *fmt, ...) {
hl_fatal_error(buf,file,line);
}

HL_PRIM void hl_breakpoint() {
hl_debug_break();
}

DEFINE_PRIM(_ARR,exception_stack,_NO_ARG);
DEFINE_PRIM(_VOID,set_error_handler,_FUN(_VOID,_DYN));
DEFINE_PRIM(_VOID,breakpoint,_NO_ARG);

0 comments on commit daa4592

Please sign in to comment.