Open marcrasi opened 4 years ago
Is this related to Error message not showing?
enum VendingMachineError: Error {
case invalidSelection
case insufficientFunds(coinsNeeded: Int)
case outOfStock
}
print("1")
throw VendingMachineError.insufficientFunds(coinsNeeded: 5)
print("2")
If I run the code above, it prints:
1
Use `print()` to show values.
where as using a host on colab prints:
1
▿ VendingMachineError
▿ insufficientFunds : 1 element
- coinsNeeded : 5
The recent merge causes LLDB to crash when it tries to show an expression value.
I'm going to work around this by disabling showing expression values. Users can still see values using
print()
.This issue reminds us to re-enable showing expression values when we can. I expect some upstream fix will make it start working again soon.