Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Let assertions abort | ||
---|---|---|---|
Product: | porting | Reporter: | Stephan Bergmann <stephan.bergmann.secondary> |
Component: | code | Assignee: | AOO issues mailing list <issues> |
Status: | ACCEPTED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | dtardon, frank.schoenheit, issues, malte_timmermann, mst.ooo, tenger |
Version: | DEV300m71 | ||
Target Milestone: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
Stephan Bergmann
2010-02-11 08:39:11 UTC
. +1 that will finally give me a reason to track a lot of these down... though i would not want this change integrated until after 3.3 branches off :) -1 This would just cause people to not add assertions to their code anymore. We need to solve this on a social level (well, backed up by management, and this is what's missing at the moment), not on a technical level. Also, not every of today's assertions justifies an abort when failing. Historically, DBG_ASSERT/OSL_ENSURE simply have not been used in the same way ::std::assert is intended to be used, so treating both the same way is inappropriate. Now that I've said this, let's start the discussion/war. But in a mailing list, please, not in this issue here. @fs: yes, please start over on a mailing list, and I'll answer you there, then cc me And still -1 - IMHO there are situations where assertion should about, but also some where they shouldn't, so the developer should choose the appropriate macro for this, instead of blindly letting all assertions about. @mt: see OSL_TRACE to flag "unusual program states" *** Issue 116845 has been marked as a duplicate of this issue. *** Reset assigne to the default "issues@openoffice.apache.org". |