Jump to content

Lars Fosdal

Administrators
  • Content Count

    3342
  • Joined

  • Last visited

  • Days Won

    111

Lars Fosdal last won the day on May 19

Lars Fosdal had the most liked content!

Community Reputation

1746 Excellent

Technical Information

  • Delphi-Version
    Delphi 12 Athens

Recent Profile Visitors

10238 profile views
  1. Lars Fosdal

    How to debug a Not Responding program element

    @Willicious A common challenge when updating UI components that have events of their own, is that setting values in the component, will trigger said events, which again trigger your event handlers, which then exec code that changes other UI elements. Do you take steps to ensure that you don't get a flurry of events between different parts of the UI and biz logic when you change data in the components?
  2. Lars Fosdal

    Delphi on Surface Pro with Qualcomm CPU?

    I am sure I would prefer a clean installation.
  3. Lars Fosdal

    Delphi on Surface Pro with Qualcomm CPU?

    Considering that Delphi runs fine under Windows for ARM in Parallells on MacOS, it is likely that it will run well on Windows for ARM without a VM layer as well.
  4. ... or change the type in the method: Add(const n: NativeInt);
  5. Lars Fosdal

    Stack Overflow Developer Survey for 2024

    Or Androids...
  6. Lars Fosdal

    Stack Overflow Developer Survey for 2024

    It is a pretty lousy Captcha, I'd say.
  7. Lars Fosdal

    XML File - I need a schema for this file

    From https://www.freeformatter.com/xsd-generator.html - "Salami Slice" design Does this look ok? <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="title"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute type="xs:string" name="lang" use="optional"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="content"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute type="xs:string" name="lang" use="optional"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="items"> <xs:complexType> <xs:sequence> <xs:element ref="title"/> <xs:element ref="content"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="name" type="xs:string"/> <xs:element name="posts"> <xs:complexType> <xs:sequence> <xs:element ref="items" maxOccurs="unbounded" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="author"> <xs:complexType> <xs:sequence> <xs:element ref="name"/> <xs:element ref="posts"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="authors"> <xs:complexType> <xs:sequence> <xs:element ref="author"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
  8. Lars Fosdal

    Exception logging/reporting on MacOS?

    do not support ARM64. I also pointed out "bare bones stack trace". The two mentioned offer so much more functionality for those that need it. I wonder how many people that don't use such tools as they don't want to take the cost? But this still is a purely academical discussion. That said, they already have the code to unwind the stack in the debugger, which they need to maintain, so the step is not that huge.
  9. Lars Fosdal

    How to debug a Not Responding program element

    Pausing the app in the debugger and inspecting each thread might also offer clues. In my experience, such hangs are typically caused by - forgetting to call an inherited method - deadlock on a resouce - loop that has exit conditions that are never met and in rare cases, slow recursions with low stack impact
  10. Lars Fosdal

    Exception logging/reporting on MacOS?

    Practical - as in practical for the users of their products, i.e. us.
  11. Thanks, Eugene. Updated.
  12. Lars Fosdal

    Exception logging/reporting on MacOS?

    Well, it would be practical to have a bare bones stack trace tool for all supported platforms.
  13. I sometimes use these where a method has been broken into sub-routines to create more readable code, but more often than not, I tend to pass arguments to these sub-routines as parameters.
  14. Lars Fosdal

    Exception logging/reporting on MacOS?

    Doesn't mention architecture, though - Intel vs ARM.
×