src/Pure/ML-Systems/ml_debugger_polyml-5.5.3.ML
changeset 60729 f5989a2c1f67
child 60730 02c2860fcf30
equal deleted inserted replaced
60726:6d500a224cbe 60729:f5989a2c1f67
       
     1 (*  Title:      Pure/ML/ml_debugger_polyml-5.5.3.ML
       
     2     Author:     Makarius
       
     3 
       
     4 ML debugger interface -- Poly/ML 5.5.3, or later.
       
     5 *)
       
     6 
       
     7 structure ML_Debugger: ML_DEBUGGER =
       
     8 struct
       
     9 
       
    10 (* compiler parameters *)
       
    11 
       
    12 type compiler_parameters = PolyML.Compiler.compilerParameters;
       
    13 val compiler_parameters = PolyML.Compiler.CPDebug true;
       
    14 
       
    15 
       
    16 (* hooks *)
       
    17 
       
    18 type location = PolyML.location;
       
    19 
       
    20 val on_entry = PolyML.DebuggerInterface.setOnEntry;
       
    21 val on_exit = PolyML.DebuggerInterface.setOnExit;
       
    22 val on_exit_exception = PolyML.DebuggerInterface.setOnExitException;
       
    23 val on_break_point = PolyML.DebuggerInterface.setOnBreakPoint;
       
    24 
       
    25 
       
    26 (* debugger operations *)
       
    27 
       
    28 type state = PolyML.DebuggerInterface.debugState;
       
    29 
       
    30 val state = PolyML.DebuggerInterface.debugState;
       
    31 val debug_function = PolyML.DebuggerInterface.debugFunction;
       
    32 val debug_function_arg = PolyML.DebuggerInterface.debugFunctionArg;
       
    33 val debug_function_result = PolyML.DebuggerInterface.debugFunctionResult;
       
    34 val debug_location = PolyML.DebuggerInterface.debugLocation;
       
    35 val debug_name_space = PolyML.DebuggerInterface.debugNameSpace;
       
    36 
       
    37 end;