PureBasic Debugger The debugged executable quit unexpectedly.

Mac OSX specific forum
victorprogra
User
User
Posts: 24
Joined: Wed Jul 06, 2022 3:49 pm

PureBasic Debugger The debugged executable quit unexpectedly.

Post by victorprogra »

Hello,
MacBook Pro 16-inch 2019 (intel)
Processor: 2.3 GHz 8-Core Intel Core i9
Graphics: AMD Radeon Pro 5500M 4 GB
Intel UHD Graphics 630 1536 MB
Memory: 16 GB 2667 MHz DDR4

PureBasic 6.02 LTS (MacOS X - x64)
DE build on 05/17/2023 [09:47] by fred
Branch: v6.02 Revision: 959b0c010a14

After updating to Ventura 13.5.2 (22G91) and also updated to Xcode Version 15.0 (15A240d)

I get the following error:
PureBasic.0 quit unexpectedly.
PureBasic Debugger The debugged executable quit unexpectedly,
Waiting for executable to start...
The debugged executable quit unexpectedly.

Can't compile or run anything;
Uninstalled PureBasic and reinstalled it again and I get the same error.

This is the simple code I am running to make sure is simple:
Debug "Hello World"

Please help,
Thank you.
mrbungle
Enthusiast
Enthusiast
Posts: 143
Joined: Wed Dec 30, 2020 3:18 am

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by mrbungle »

Sounds like something in xcode 15 broke something. These are the release notes for xcode 15: https://developer.apple.com/documentati ... ease-notes
victorprogra
User
User
Posts: 24
Joined: Wed Jul 06, 2022 3:49 pm

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by victorprogra »

I read the Notes and do not understand what can be making PureBasic 6.02 LTS (MacOS X - x64) useless; there are lots of changes and fixes for release 15 of Xcode.

To summarize it all the first line of the Xcode 15 Release Notes would suggest that this has to be solved by PureBasic:

"Xcode 15 Release Notes. Update your apps to use new features, and test your apps against API changes."

Since this is way beyond what I can do and until this issue is further looked upon and fixed, be careful when updating to Ventura 13.5.2 (22G91) and Xcode Version 15.0 (15A240d) since PureBasic 6.02 LTS (MacOS X - x64)
DE build on 05/17/2023 [09:47] by fred
Branch: v6.02 Revision: 959b0c010a14
will be left useless.

Thank you.
bsilver
User
User
Posts: 27
Joined: Tue Jun 27, 2023 3:36 pm

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by bsilver »

As a side note...don't know if it helps...I'm seeing a similar issue (posted about in general discussion) and it seemed to correlate to an update in the command line tools for Xcode.
victorprogra
User
User
Posts: 24
Joined: Wed Jul 06, 2022 3:49 pm

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by victorprogra »

Today updated Ventura to Version 13.6 (22G120) and the problem remains.

I get the following error:
PureBasic.0 quit unexpectedly.
PureBasic Debugger The debugged executable quit unexpectedly,
Waiting for executable to start...
The debugged executable quit unexpectedly.

Can't use PureBasic 6.02 LTS (MacOS X - x64)
DE build on 05/17/2023 [09:47] by fred
Branch: v6.02 Revision: 959b0c010a14

Please help
bsilver
User
User
Posts: 27
Joined: Tue Jun 27, 2023 3:36 pm

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by bsilver »

@victorprogra do you know if this only happens when compiled with debugger support in the executable, or does the application run if the debugger is disabled?
victorprogra
User
User
Posts: 24
Joined: Wed Jul 06, 2022 3:49 pm

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by victorprogra »

PureBasic is left useless after updated to Ventura 13.5.2 (22G91) and updated to Xcode Version 15.0 (15A240d)

Downloaded from Apple at:
https://developer.apple.com/download/all/
Xcode_15.xip
Command_Line_Tools_for_Xcode_15

Downloaded from https://www.purebasic.com/
PureBasic 6.02 LTS (MacOS X - x64)
DE build on 05/17/2023 [09:47] by fred
Branch: v6.02 Revision: 959b0c010a14

It makes no difference if the app has been compiled with or without the debbuger support, it crashes in both instances.
When I compile without debbuger support and double click on the PureBasic.0 I get this error:
PureBasic.0.app quit unexpectedly. And I get the Following Report:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process: PureBasic.0 [1320]
Path: /Users/USER/Desktop/PureBasic.0.app/Contents/MacOS/PureBasic.0
Identifier: PureBasic.0
Version: 0.1
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2023-09-27 11:53:06.3069 -0600
OS Version: macOS 13.6 (22G120)
Report Version: 12
Bridge OS Version: 8.0 (21P365)
Anonymous UUID: A52B0416-6C0F-181E-2F2F-2E65DE043F0A


Time Awake Since Boot: 480 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000001055636bd
Exception Codes: 0x0000000000000002, 0x00000001055636bd

Termination Reason: Namespace SIGNAL, Code 10 Bus error: 10
Terminating Process: exc handler [1320]

VM Region Info: 0x1055636bd is in 0x105560000-0x105580000; bytes after start: 14013 bytes before end: 117058
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
---> __TEXT 105560000-105580000 [ 128K] r-x/r-x SM=COW ...S/PureBasic.0
__DATA 105580000-105584000 [ 16K] rw-/rw- SM=COW ...S/PureBasic.0

Thread 0 Crashed:
0 dyld 0x7ff8152462c6 invocation function for block in dyld4::Loader::applyFixupsGeneric(Diagnostics&, dyld4::RuntimeState&, unsigned long long, dyld3::Array<void const*> const&, dyld3::Array<void const*> const&, bool, dyld3::Array<dyld4::Loader::MissingFlatLazySymbol> const&) const + 60
1 dyld 0x7ff81528b3a8 dyld3::MachOAnalyzer::forEachRebase_Opcodes(Diagnostics&, dyld3::MachOLoaded::LinkEditInfo const&, dyld3::MachOFile::SegmentInfo const*, void (char const*, dyld3::MachOLoaded::LinkEditInfo const&, dyld3::MachOFile::SegmentInfo const*, bool, unsigned int, unsigned char, unsigned long long, dyld3::MachOAnalyzer::Rebase, bool&) block_pointer) const + 656
2 dyld 0x7ff81528b0f0 dyld3::MachOAnalyzer::forEachRebaseLocation_Opcodes(Diagnostics&, void (unsigned long long, bool&) block_pointer) const + 314
3 dyld 0x7ff81524607f dyld4::Loader::applyFixupsGeneric(Diagnostics&, dyld4::RuntimeState&, unsigned long long, dyld3::Array<void const*> const&, dyld3::Array<void const*> const&, bool, dyld3::Array<dyld4::Loader::MissingFlatLazySymbol> const&) const + 355
4 dyld 0x7ff81524b249 dyld4::JustInTimeLoader::applyFixups(Diagnostics&, dyld4::RuntimeState&, dyld4::DyldCacheDataConstLazyScopedWriter&, bool) const + 573
5 dyld 0x7ff8152312a5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 2274
6 dyld 0x7ff8152303bd start + 1805


Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000105560000 rbx: 0x00000001055839ac rcx: 0x000000010558d910 rdx: 0x00007ff7ba99c6b7
rdi: 0x000000010558db80 rsi: 0x00000000000036bd rbp: 0x00007ff7ba99c610 rsp: 0x00007ff7ba99c600
r8: 0x0000000000000001 r9: 0x0000000000000008 r10: 0x0000000000003cc8 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x00000000000036bd r14: 0x00000001055636bd r15: 0x00007ff7ba99c7f8
rip: 0x00007ff8152462c6 rfl: 0x0000000000010246 cr2: 0x00000001055636bd

Logical CPU: 6
Error Code: 0x00000007 (invalid protections for user data write)
Trap Number: 14

Thread 0 instruction stream:
b8 b6 00 00 00 00 74 14-48 8d 35 56 e1 06 00 48 ......t.H.5V...H
89 da 4c 89 f1 31 c0 e8-dc 18 ff ff 4c 89 33 5b ..L..1......L.3[
41 5e 5d c3 55 48 89 e5-41 56 53 48 8b 47 20 48 A^].UH..AVSH.G H
8b 5f 28 4c 8d 34 30 48-8b 7f 30 48 8b 4f 08 48 ._(L.40H..0H.O.H
03 1c 30 80 b9 b6 00 00-00 00 74 14 48 8d 35 3d ..0.......t.H.5=
e1 06 00 4c 89 f2 48 89-d9 31 c0 e8 98 18 ff ff ...L..H..1......
[49]89 1e 5b 41 5e 5d c3-55 48 89 e5 41 57 41 56 I..[A^].UH..AWAV <==
41 55 41 54 53 48 83 ec-18 48 8b 47 30 89 d1 48 AUATSH...H.G0..H
39 48 10 0f 86 d6 00 00-00 41 89 d5 49 89 f6 48 9H.......A..I..H
89 fb 48 8b 7f 20 48 8b-00 4c 8b 3c c8 4c 8b 63 ..H.. H..L.<.L.c
38 49 8b 44 24 08 4c 03-73 28 80 b8 b6 00 00 00 8I.D$.L.s(......
00 48 89 7d d0 74 46 e8-bc c1 ff ff 4c 89 75 c8 .H.}.tF.....L.u.

Binary Images:
0x105560000 - 0x10557ffff PureBasic.0 (*) <40059dc9-f9b8-349d-b177-00238065b9e2> /Users/USER/Desktop/PureBasic.0.app/Contents/MacOS/PureBasic.0
0x7ff81522a000 - 0x7ff8152c25ef dyld (*) <3df96f32-b9c9-3566-a6b7-4daebc6d6563> /usr/lib/dyld

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=391.3M resident=0K(0%) swapped_out_or_unallocated=391.3M(100%)
Writable regions: Total=8464K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8464K(100%)

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
VM_ALLOCATE 4K 1
__DATA 14.4M 272
__DATA_CONST 13.1M 172
__DATA_DIRTY 623K 95
__FONT_DATA 2352 1
__LINKEDIT 170.9M 2
__OBJC_RO 66.3M 1
__OBJC_RW 2013K 2
__TEXT 220.4M 295
dyld private memory 260K 2
shared memory 4K 1
=========== ======= =======
TOTAL 552.0M 846



-----------
Full Report
-----------

{"app_name":"PureBasic.0","timestamp":"2023-09-27 11:53:06.00 -0600","app_version":"","slice_uuid":"40059dc9-f9b8-349d-b177-00238065b9e2","build_version":"0.1","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.6 (22G120)","roots_installed":0,"incident_id":"9C6006DB-29CF-4A1B-9235-30A5F25F68D1","name":"PureBasic.0"}
{
"uptime" : 480,
"procRole" : "Background",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro16,1",
"coalitionID" : 1017,
"osVersion" : {
"train" : "macOS 13.6",
"build" : "22G120",
"releaseType" : "User"
},
"captureTime" : "2023-09-27 11:53:06.3069 -0600",
"incident" : "9C6006DB-29CF-4A1B-9235-30A5F25F68D1",
"pid" : 1320,
"cpuType" : "X86-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2023-09-27 11:53:06.0014 -0600",
"procStartAbsTime" : 485576145390,
"procExitAbsTime" : 485881325110,
"procName" : "PureBasic.0",
"procPath" : "\/Users\/USER\/Desktop\/PureBasic.0.app\/Contents\/MacOS\/PureBasic.0",
"bundleInfo" : {"CFBundleVersion":"0.1"},
"parentProc" : "launchd",
"parentPid" : 1,
"crashReporterKey" : "A52B0416-6C0F-181E-2F2F-2E65DE043F0A",
"codeSigningID" : "",
"codeSigningTeamID" : "",
"codeSigningValidationCategory" : 0,
"codeSigningTrustLevel" : 0,
"bridgeVersion" : {"build":"21P365","train":"8.0"},
"sip" : "enabled",
"vmRegionInfo" : "0x1055636bd is in 0x105560000-0x105580000; bytes after start: 14013 bytes before end: 117058\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> __TEXT 105560000-105580000 [ 128K] r-x\/r-x SM=COW ...S\/PureBasic.0\n __DATA 105580000-105584000 [ 16K] rw-\/rw- SM=COW ...S\/PureBasic.0",
"exception" : {"codes":"0x0000000000000002, 0x00000001055636bd","rawCodes":[2,4384503485],"type":"EXC_BAD_ACCESS","signal":"SIGBUS","subtype":"KERN_PROTECTION_FAILURE at 0x00000001055636bd"},
"termination" : {"flags":0,"code":10,"namespace":"SIGNAL","indicator":"Bus error: 10","byProc":"exc handler","byPid":1320},
"vmregioninfo" : "0x1055636bd is in 0x105560000-0x105580000; bytes after start: 14013 bytes before end: 117058\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> __TEXT 105560000-105580000 [ 128K] r-x\/r-x SM=COW ...S\/PureBasic.0\n __DATA 105580000-105584000 [ 16K] rw-\/rw- SM=COW ...S\/PureBasic.0",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":14011,"instructionState":{"instructionStream":{"bytes":[184,182,0,0,0,0,116,20,72,141,53,86,225,6,0,72,137,218,76,137,241,49,192,232,220,24,255,255,76,137,51,91,65,94,93,195,85,72,137,229,65,86,83,72,139,71,32,72,139,95,40,76,141,52,48,72,139,127,48,72,139,79,8,72,3,28,48,128,185,182,0,0,0,0,116,20,72,141,53,61,225,6,0,76,137,242,72,137,217,49,192,232,152,24,255,255,73,137,30,91,65,94,93,195,85,72,137,229,65,87,65,86,65,85,65,84,83,72,131,236,24,72,139,71,48,137,209,72,57,72,16,15,134,214,0,0,0,65,137,213,73,137,246,72,137,251,72,139,127,32,72,139,0,76,139,60,200,76,139,99,56,73,139,68,36,8,76,3,115,40,128,184,182,0,0,0,0,72,137,125,208,116,70,232,188,193,255,255,76,137,117,200],"offset":96}},"threadState":{"r13":{"value":14013},"rax":{"value":4384489472},"rflags":{"value":66118},"cpu":{"value":6},"r14":{"value":4384503485},"rsi":{"value":14013},"r8":{"value":1},"cr2":{"value":4384503485},"rdx":{"value":140701964289719},"r10":{"value":15560},"r9":{"value":8},"r15":{"value":140701964290040},"rbx":{"value":4384635308},"trap":{"value":14,"description":"(invalid protections for user data write)"},"err":{"value":7},"r11":{"value":0},"rip":{"value":140703483323078,"matchesCrashFrame":1},"rbp":{"value":140701964289552},"rsp":{"value":140701964289536},"r12":{"value":0},"rcx":{"value":4384676112},"flavor":"x86_THREAD_STATE","rdi":{"value":4384676736}},"frames":[{"imageOffset":115398,"symbol":"invocation function for block in dyld4::Loader::applyFixupsGeneric(Diagnostics&, dyld4::RuntimeState&, unsigned long long, dyld3::Array<void const*> const&, dyld3::Array<void const*> const&, bool, dyld3::Array<dyld4::Loader::MissingFlatLazySymbol> const&) const","symbolLocation":60,"imageIndex":1},{"imageOffset":398248,"symbol":"dyld3::MachOAnalyzer::forEachRebase_Opcodes(Diagnostics&, dyld3::MachOLoaded::LinkEditInfo const&, dyld3::MachOFile::SegmentInfo const*, void (char const*, dyld3::MachOLoaded::LinkEditInfo const&, dyld3::MachOFile::SegmentInfo const*, bool, unsigned int, unsigned char, unsigned long long, dyld3::MachOAnalyzer::Rebase, bool&) block_pointer) const","symbolLocation":656,"imageIndex":1},{"imageOffset":397552,"symbol":"dyld3::MachOAnalyzer::forEachRebaseLocation_Opcodes(Diagnostics&, void (unsigned long long, bool&) block_pointer) const","symbolLocation":314,"imageIndex":1},{"imageOffset":114815,"symbol":"dyld4::Loader::applyFixupsGeneric(Diagnostics&, dyld4::RuntimeState&, unsigned long long, dyld3::Array<void const*> const&, dyld3::Array<void const*> const&, bool, dyld3::Array<dyld4::Loader::MissingFlatLazySymbol> const&) const","symbolLocation":355,"imageIndex":1},{"imageOffset":135753,"symbol":"dyld4::JustInTimeLoader::applyFixups(Diagnostics&, dyld4::RuntimeState&, dyld4::DyldCacheDataConstLazyScopedWriter&, bool) const","symbolLocation":573,"imageIndex":1},{"imageOffset":29349,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":2274,"imageIndex":1},{"imageOffset":25533,"symbol":"start","symbolLocation":1805,"imageIndex":1}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 4384489472,
"size" : 131072,
"uuid" : "40059dc9-f9b8-349d-b177-00238065b9e2",
"path" : "\/Users\/USER\/Desktop\/PureBasic.0.app\/Contents\/MacOS\/PureBasic.0",
"name" : "PureBasic.0",
"CFBundleVersion" : "0.1"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703483207680,
"size" : 624112,
"uuid" : "3df96f32-b9c9-3566-a6b7-4daebc6d6563",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
}
],
"sharedCache" : {
"base" : 140703482585088,
"size" : 21474836480,
"uuid" : "2434d7b8-6144-3aef-92fd-a483c33f40d2"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=391.3M resident=0K(0%) swapped_out_or_unallocated=391.3M(100%)\nWritable regions: Total=8464K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8464K(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8192K 1 \nVM_ALLOCATE 4K 1 \n__DATA 14.4M 272 \n__DATA_CONST 13.1M 172 \n__DATA_DIRTY 623K 95 \n__FONT_DATA 2352 1 \n__LINKEDIT 170.9M 2 \n__OBJC_RO 66.3M 1 \n__OBJC_RW 2013K 2 \n__TEXT 220.4M 295 \ndyld private memory 260K 2 \nshared memory 4K 1 \n=========== ======= ======= \nTOTAL 552.0M 846 \n",
"legacyInfo" : {
"threadTriggered" : {

}
},
"logWritingSignature" : "7e1ce2679c1ecaf45bfca045e7e538a6cc4e01f7",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "6246d6a916a70b047e454124",
"factorPackIds" : {

},
"deploymentId" : 240000010
},
{
"rolloutId" : "6297d96be2c9387df974efa4",
"factorPackIds" : {

},
"deploymentId" : 240000014
}
],
"experiments" : [

]
}
}

Model: MacBookPro16,1, BootROM 2020.0.1.0.0 (iBridge: 21.16.365.0.0,0), 8 processors, 8-Core Intel Core i9, 2.3 GHz, 16 GB, SMC
Graphics: Intel UHD Graphics 630, Intel UHD Graphics 630, Built-In
Graphics: AMD Radeon Pro 5500M, AMD Radeon Pro 5500M, PCIe, 4 GB
Display: Color LCD, 3072 x 1920 Retina, Main, MirrorOff, Online
Display: SA300/SA350, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E1
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E1
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Dec 9 2022 17:02:25 version 9.30.492.0.32.5.87 FWID 01-e7856862
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: T2Bus
USB Device: composite_device
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
==================================================================

So as temporal workaround until PureBasic publishes a working compatible version and in order to keep working with PureBasic for the current project I uninstalled Xcode Version 15.0 (15A240d) and also uninstalled Command Line Tools for Xcode 15.0
Then I Downloaded and installed from Apple
Xcode_14.3.1.xip
Command_Line_Tools_for_Xcode_14.3.1.dmg
All this under:
ProductName: macOS
ProductVersion: 13.6
BuildVersion: 22G120

Currently I have to finish current PureBasic project and then I will have to update to macOS Sonoma 14.0 to develop and test other software, by then I hope there will be a compatible version of PureBasic with macOS Sonoma.

Thank You.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by Fred »

If you have the chance to test, could use the 'pbcompilerc' instead ?
victorprogra
User
User
Posts: 24
Joined: Wed Jul 06, 2022 3:49 pm

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by victorprogra »

Hi Fred,
Installed Xcode Version 15.0 (15A240d) and also installed Command Line Tools for Xcode 15.0

All this under:
ProductName: macOS Ventura 13.6
ProductVersion: 13.6
BuildVersion: 22G120

PureBasic 6.02 LTS (MacOS X - x64)
DE build on 05/17/2023 [09:47] by fred
Branch: v6.02 Revision: 959b0c010a14

The pbcompilerc, PureBasic 6.02 LTS - C Backend (MacOS X - x64), was installed from:
/Applications/PureBasic.app/Contents/Resources/compilers/pbcompilerc

When compiled with the pbcompilerc the problems described in posts above do not happen, it compiles perfect using the debbuger and then the debbuger can be used with all its tools.

The created executable compiled with debbuger and using pbcompilerc works perfect
The created executable compiled without debbuger and using pbcompilerc works perfect

When using pbcompiler, PureBasic 6.02 LTS (MacOS X - x64), the problems described in posts above remain.

Fred, please advise if it's ok to upgrade - from the point of view of compatibility of PureBasic 6.02 LTS (MacOS X - x64) - from macOS Ventura 13.6 to macOS 14 Build 23A344 Sonoma.

Thank You.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by Fred »

Thanks for the testing. I upgraded to the XCode 15 and facing the same issue on x64 using the asm compiler. It might be an XCode issue as the asm code hasn't be changed, so let's wait if there is a fix. In the meantime, I will probably switch the asm compiler with the C one for OS x64 as I have no clue of what's happening here (so all OS X will have the same default compiler (M1/M2 and x64) which is probably better anyway).

It looks like this kind of error: https://developer.apple.com/forums/thread/727680 which was fixed with an XCode update.
victorprogra
User
User
Posts: 24
Joined: Wed Jul 06, 2022 3:49 pm

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by victorprogra »

Fred,
Ok, perfect 👌
Thank you very much for your time and help
Have a wonderful day! 👍
User avatar
mk-soft
Always Here
Always Here
Posts: 6209
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by mk-soft »

But the ASM compiler for macOS will still exist?
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic Debugger The debugged executable quit unexpectedly.

Post by Fred »

yes, you can use an older XCode for now to compile with it.
Post Reply