Comments (1)
I've had a look at this. In Debug (-Onone), it is possible to walk through the stack frames to the message
parameter passed to the underlying _assertionFailure
function. It involves making some dirty assumptions about how many stack frames and the location within the stack frame but you can do it.
In Release build, it is not possible. The entire precondition
(or other test function) is inlined into the caller and the message
parameter is gone from the stack before the ud2
occurs.
from cwlpreconditiontesting.
Related Issues (20)
- Unwind (upd'd)
- Occasional crashes when running tests HOT 4
- Under Xcode 9.3 catchBadInstruction no longer handles FatalError() HOT 5
- Runtime crash occurs on Xcode 10 beta 1 HOT 4
- CwlPreconditionTesting.framework/Modules/module.modulemap:9:12: Header 'CwlPreconditionTesting-Swift.h' not found HOT 3
- Undefined symbols for architecture x86_64: "_catchExceptionOfKind" HOT 2
- Can't be built for real devices (iOS and tvOS)
- Doesn't build with iOS 13.1 SDK HOT 1
- Darwin.framework in Xcode 11.4 is missing symbols HOT 2
- Apple Silicone Support HOT 15
- Compiler Error with Swift 5.5: symbol 'NDR_record' (NDR_record) is in generated IR file, but not in TBD file HOT 5
- Apple Silicon under Rosetta HOT 2
- Preconditions under Task with Swift Concurrency is not handled HOT 1
- Build Warning With Xcode 14 - 'mach_port_destroy' was deprecated in iOS 15.0 HOT 1
- Xcode 15 hangs indefinitely when an exception is catched HOT 1
- Update versions of CWLPreconditionTesting in Cocoapods HOT 5
- Intermittent: undeclared identifier 'BadInstructionException' HOT 2
- alternative to `setjmp` under new Swift releases HOT 15
- Return of the intermittent "undeclared identifier 'BadInstructionException'" error HOT 2
- master branch unavailable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cwlpreconditiontesting.