I’ve got a large project which is under Xojo 2019r1.1 and I can’t immediately migrate it to a newer version of Xojo.
Within the past year, the IDE debugger has stopped working:
- any breakpoint or exception crashes with the following stack trace:
Stack Trace
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 XojoFramework.dylib 0x1127717cd DecodeMachOTraceback(void const*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>&, unsigned long*) + 644
1 XojoFramework.dylib 0x112755a03 0x1125bf000 + 1665539
2 XojoFramework.dylib 0x112860cf9 std::__1::function<bool (long, long)>::operator()(long, long) const + 39
3 XojoFramework.dylib 0x112860cb2 StackContext::Crawl(StackBounds, std::__1::function<bool (long, long)>) const + 128
4 XojoFramework.dylib 0x11274f584 0x1125bf000 + 1639812
5 XojoFramework.dylib 0x11274cfb3 DSDelegate::DebuggerConnectionMessage(DebuggerPacketParser const&) + 17
6 XojoFramework.dylib 0x11274b3ef DebuggerConnection::ProcessMessage(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>) + 67
7 XojoFramework.dylib 0x11281a48a TCPSocketConnection::SocketDataReceived(TCPSocket*) + 370
8 XojoFramework.dylib 0x1126d247f TCPSocket::FireEvents() + 123
9 XojoFramework.dylib 0x1126cf0a5 TCPSocketPosix::Poll() + 925
10 XojoFramework.dylib 0x112754176 0x1125bf000 + 1659254
11 XojoFramework.dylib 0x112753f8f DebuggerHook + 836
- this only happens with one of my largest projects. Smaller projects work fine
- this is on macOS ventura 13.6.3 (but started earlier, perhaps on 13.5 or 13.6 ?)
- running on an Intel cpu (i9) with 64 bit intel builds.
- IDE / clearing caches: no change.
- doesn’t matter where the breakpoint is (App.open, or deep in nested code: always crashes)
- I’ve seen this same crash before, but it was perhaps 1% of the time; what’s new is that it’s now happening 100% of the time with this one project.
Question:
- is anyone else seeing this?
- I wonder if there’s a way to hack in a newer version of the Xojo debugger library or some other way of fixing this?