File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
Sources/WasmKit/Execution Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 111111 }
112112
113113 package mutating func disableBreakpoint( address: Int ) throws ( Error) {
114- print ( " attempt to toggle a breakpoint at \( address) " )
115-
116114 guard let oldCodeSlot = self . breakpoints [ address] else {
117- print ( " breakpoint at \( address) already disabled " )
118115 return
119116 }
120117
131128 /// Array of addresses in the Wasm binary of executed instructions on the call stack.
132129 package var currentCallStack : [ Int ] {
133130 let isDebuggable = self . instance. handle. isDebuggable
134- print ( " isDebuggable is \( isDebuggable) " )
135131
136132 return Execution . captureBacktrace ( sp: self . valueStack, store: self . store) . symbols. map {
137133 self . instance. handle. iseqToWasmMapping [ $0. address] !
Original file line number Diff line number Diff line change 2323 func stopAtEntrypoint( ) throws {
2424 let store = Store ( engine: Engine ( ) )
2525 let bytes = try wat2wasm ( trivialModuleWAT)
26- print ( bytes. count)
2726 let module = try parseWasm ( bytes: bytes)
2827 var debugger = try Debugger ( module: module, store: store, imports: [ : ] )
2928
You can’t perform that action at this time.
0 commit comments