Skip to content

Commit f64bf23

Browse files
committed
Remove print debugging
1 parent 9d79c83 commit f64bf23

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

Sources/WasmKit/Execution/Debugger.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,7 @@
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

@@ -131,7 +128,6 @@
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]!

Tests/WasmKitTests/DebuggerTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
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

0 commit comments

Comments
 (0)