Re: [Development] Exceptions

2024-05-23 Thread Thiago Macieira
On Thursday 23 May 2024 09:50:15 GMT-3 Martin Storsjö wrote: > On Windows (on platforms that use SEH) this is also the case, as SEH > unwind info is needed for handling various SEH exceptions, that may be > used even if C++ exceptions aren't. > > But on aarch64 darwin, unwind tables don't seem to

Re: [Development] Exceptions

2024-05-23 Thread Thiago Macieira
On Thursday 23 May 2024 04:07:20 GMT-3 Volker Hilsheimer via Development wrote: > From what I see, the problem is bigger than “don’t let exceptions run > through the event loop” though. In my example, even a try/catch around > calling the parent class implementation of QWidget::event will not

Re: [Development] Exceptions

2024-05-23 Thread Martin Storsjö
On Wed, 22 May 2024, Thiago Macieira wrote: As far as I understand, the problem is that on ARM, there *is* no native stack frame, unlike on x86. Stack unwinding on x86 is very frequently possible because the architecture saves the return address on the stack and most code is compiled with frame

Re: [Development] Exceptions

2024-05-23 Thread Volker Hilsheimer via Development
On 22 May 2024, at 17:31, Thiago Macieira wrote: On Wednesday 22 May 2024 06:38:28 GMT-3 Volker Hilsheimer via Development wrote: As long as Qt is built with exception support We don't support toggling that on and off any more and haven't for a while. QtCore and QtGui are compiled with

Re: [Development] Exceptions

2024-05-22 Thread Thiago Macieira
On Wednesday 22 May 2024 06:38:28 GMT-3 Volker Hilsheimer via Development wrote: > As long as Qt is built with exception support We don't support toggling that on and off any more and haven't for a while. QtCore and QtGui are compiled with exceptions enabled; all the other modules are not. In

Re: [Development] Exceptions

2024-05-22 Thread Volker Hilsheimer via Development
> On 22 May 2024, at 16:30, Volker Hilsheimer via Development > wrote: > >> On 22 May 2024, at 13:20, Turtle Creek Software >> wrote: >> >> When we posted this problem to the Interest list, Thiago replied that Qt is >> not designed to pass along exceptions and we shouldn't rely on the

Re: [Development] Exceptions

2024-05-22 Thread Volker Hilsheimer via Development
> On 22 May 2024, at 13:20, Turtle Creek Software > wrote: > > When we posted this problem to the Interest list, Thiago replied that Qt is > not designed to pass along exceptions and we shouldn't rely on the override > to QApplication::notify. He later qualified that some parts of Qt should

Re: [Development] Exceptions

2024-05-22 Thread Volker Hilsheimer via Development
Hi Dennis, > On 7 May 2024, at 21:05, Turtle Creek Software wrote: > > TurtleSoft posted on the Interest list earlier about problems we had with > exception handling, and Thiago suggested I post here. > > Since the early 90s, our C++ code has had about 10,000 sanity checks which > give an

Re: [Development] Exceptions

2024-05-07 Thread Henry Skoglund
On 2024-05-07 21:05, Turtle Creek Software wrote: TurtleSoft posted on the Interest list earlier about problems we had with exception handling, and Thiago suggested I post here. Since the early 90s, our C++ code has had about 10,000 sanity checks which give an error message with source file &

[Development] Exceptions

2024-05-07 Thread Turtle Creek Software
TurtleSoft posted on the Interest list earlier about problems we had with exception handling, and Thiago suggested I post here. Since the early 90s, our C++ code has had about 10,000 sanity checks which give an error message with source file & line number, then throw an exception. There is a