|
60729
|
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 |
(* hooks *)
|
|
|
11 |
|
|
|
12 |
type location = PolyML.location;
|
|
|
13 |
|
|
|
14 |
val on_entry = PolyML.DebuggerInterface.setOnEntry;
|
|
|
15 |
val on_exit = PolyML.DebuggerInterface.setOnExit;
|
|
|
16 |
val on_exit_exception = PolyML.DebuggerInterface.setOnExitException;
|
|
60744
|
17 |
val on_breakpoint = PolyML.DebuggerInterface.setOnBreakPoint;
|
|
60729
|
18 |
|
|
|
19 |
|
|
|
20 |
(* debugger operations *)
|
|
|
21 |
|
|
|
22 |
type state = PolyML.DebuggerInterface.debugState;
|
|
|
23 |
|
|
|
24 |
val state = PolyML.DebuggerInterface.debugState;
|
|
|
25 |
val debug_function = PolyML.DebuggerInterface.debugFunction;
|
|
|
26 |
val debug_function_arg = PolyML.DebuggerInterface.debugFunctionArg;
|
|
|
27 |
val debug_function_result = PolyML.DebuggerInterface.debugFunctionResult;
|
|
|
28 |
val debug_location = PolyML.DebuggerInterface.debugLocation;
|
|
|
29 |
val debug_name_space = PolyML.DebuggerInterface.debugNameSpace;
|
|
|
30 |
|
|
|
31 |
end;
|