Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Fatal error kills app in try/catch - - Why?
Re: Fatal error kills app in try/catch - - Why? [message #30241 is a reply to message #30240] Sat, 18 December 2010 22:07 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
Thanks for the response. I had not run into "assert" enough to find out the purpose, I have been using the interpreted languages Java and Python before switching to C/C++ using Upp.

With a little research:
Asserts only kills the app in debug and not release.
Good for testing.

In Java and Python I used try/catch blocks extensively to handle errors. When the code was ported to C++ they are still there and seem to work OK except in certain cases like the one mentioned.

cbpporter wrote on Sat, 18 December 2010 15:31

AFAIK U++ rarely uses exceptions.


What does U++ use to catch errors if not "exceptions"?
I thought try/catch and exceptions were together.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: document icon, how to?
Next Topic: Any tuple examples?
Goto Forum:
  


Current Time: Sun Aug 24 09:43:10 CEST 2025

Total time taken to generate the page: 0.00470 seconds