|Title||Messages from assertions sound like bugs in the MPS|
|Assigned user||Richard Brooksby|
|Description||When an MPS assertion fires for a client it's almost certainly because the MPS has detected a defect in their code. This is why we do so much checking in the first place. But the MPS messages make it sound like the MPS itself is at fault, saying "MPS ASSERTION FAILED". This is misleading (and bad for us).|
|Analysis||The message could perhaps say "The MPS detected a problem". MPS assertions are a good thing -- finding defects in memory management early in the development process. We should make sure they seem that way, and encourage clients to think positively about them. "The MPS is helping you debug your code."|
Bruce Mitchener suggested on IRC that the assertion failure could point to the "Common assertions and their causes" section of the manual .
Note that if we change the assertion text we have to change the code in  that detects this text.
|Evidence|| In external integrator recently reported "bad errors" in the MPS, without details <|
|Created by||Richard Brooksby|
|Created on||2013-05-25 22:40:22|
|Last modified by||Gareth Rees|
|Last modified on||2014-05-12 15:59:21|
|History||2013-05-25 RB Created.|
|186032||closed||2014-05-12 15:59:21||Gareth Rees||Improve the assertion output so that it is less suggestive of a bug in the MPS and more suggestive of a problem that needs investigation.|