Remote Debug Windows to Mac

  1. 5 days ago

    Bill S

    Feb 11 Pre-Release Testers, Xojo Pro

    I'm working with Remote Debugger for the first time. My development machine is Windows 10 and I have access to a Mac to try stuff on.

    When I try to remotely run my app from Win 10 to Mac, I get an error "Windows cannot debug 64 bit targets at this time". On the Mac, I see no Remote Debugger Desktop for 32 bit. Am I missing something, or is it just not an option to remotely run from Windows to Mac?

    Also, on Windows, I can't compile to 64 bit Mac apps. 32 bit works and both Windows and Linux build compile 64 bit just fine.

    Pro license
    2018R4

    This bug has been fixed:

    Feedback Case #54911

    Note: Windows will still only send a 32bit application to Mac. The fix does not enable 64bit remote debugging from Windows to Mac.

  2. Alberto D

    Feb 11 Pre-Release Testers, Xojo Pro
    Edited 5 days ago

    You can't build 64bit Mac from Windows or Linux:
    https://docs.xojo.com/UserGuide:64-Bit_Guidelines#Other_64-bit_Information

    My guess is that because of that, you can't remote debug a 64bit Mac from Windows 10.

  3. Bill S

    Feb 11 Pre-Release Testers, Xojo Pro
    Edited 5 days ago

    So, is there a 32 bit remote debugger for Mac, or is it that using Windows as my IDE means I can't remote run to Mac at all?

    Also, is the ability to remote debug a 64bit Mac from Windows 10 in the works, or just simply not going to happen?

  4. Alberto D

    Feb 11 Pre-Release Testers, Xojo Pro

    IIRC I was able to run the 64bit remote debugger on Windows and debug a 32bit app from Mac. I haven't done it yet, but try to run the 64bit remote debugger on Mac and send a 32bit app from Windows. My guess is that for Windows and Linux they ship a 32bit and 64bit version because people could have a 32bit OS, all the Mac OS supported versions are 64bit, so no need for Xojo to ship a 32bit remote debugger for Mac (my guess).

    I hope the 64bit Mac from Windows and Linux is in the works and possible. It is a wanted feature.

  5. Robin L

    Feb 11 Xojo Inc Europe (Germany, Rehlingen)

    Hi Bill,
    As a work-around (until 64bit Win to Mac debugging is working) you can use a 32bit debugger from one of the older releases of Xojo. I've used the version from Xojo2015r4.1 quite successfully. That debugger version is 2.0.2. The old Xojo releases are available from https://www.xojo.com/download/archives.php (login required).

  6. Jason P

    Feb 12 Xojo Inc Texas
    Edited 5 days ago

    Just to be clear - this should work whether you use the 32 or 64 bit stub since it’s just what the IDE sends files to. It unpacks the files and then starts the app. In this case, you just need to send a 32 bit app. A 64 bit stub allows you to send either 32 or 64 bit apps.

  7. Bill S

    Feb 12 Pre-Release Testers, Xojo Pro

    @Robin L-Mitchell Hi Bill,
    As a work-around (until 64bit Win to Mac debugging is working) you can use a 32bit debugger from one of the older releases of Xojo. I've used the version from Xojo2015r4.1 quite successfully. That debugger version is 2.0.2. The old Xojo releases are available from https://www.xojo.com/download/archives.php (login required).

    This works nicely so far. Thanks Robin!

  8. Bill S

    Feb 12 Pre-Release Testers, Xojo Pro

    @Jason P Just to be clear - this should work whether you use the 32 or 64 bit stub since it’s just what the IDE sends files to. It unpacks the files and then starts the app. In this case, you just need to send a 32 bit app. A 64 bit stub allows you to send either 32 or 64 bit apps.

    Hi Jason,

    Perhaps I'm not understanding how to send 32 bit to the remote debugger? Under build settings, I choose 32 bit for Mac. It won't allow 64 to be compiled anyway. Any tips?

  9. Jason P

    Feb 12 Xojo Inc Texas

    Hi Bill,

    Select Build Settings - MacOS
    Change the Architecture property in the inspector to x86_32 bit
    That should do it.

  10. Alberto D

    Feb 12 Pre-Release Testers, Xojo Pro

    @Jason P Hi Bill,

    Select Build Settings - MacOS
    Change the Architecture property in the inspector to x86_32 bit
    That should do it.

    I tried this with remote Mac from Windows 7, but was not able to make it work, it always say "Windows cannot debug 64 bit targets at this time"

  11. Jason P

    Feb 12 Xojo Inc Texas

    @Alberto D;Poo I tried this with remote Mac from Windows 7, but was not able to make it work, it always say "Windows cannot debug 64 bit targets at this time"

    Okay. Probably my mistake, sorry about that. That's what I get for not trying it first! As Robin suggested, using the stub from Xojo2015r4.1 should work.

  12. 4 days ago

    Jason P

    Feb 12 Xojo Inc Answer Texas
    Edited 4 days ago

    This bug has been fixed:

    Feedback Case #54911

    Note: Windows will still only send a 32bit application to Mac. The fix does not enable 64bit remote debugging from Windows to Mac.

  13. 3 days ago

    Bill S

    Feb 13 Pre-Release Testers, Xojo Pro

    Glad to hear that bug is fixed and 2019R1 will permit debugging Win to Mac, 32bit. The workaround Robin suggested is also appreciated.

or Sign Up to reply!