Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
3

How to Debug Indesign Release Version

Participant ,
Jun 07, 2023 Jun 07, 2023

Hello,

Could someone tell me what I have to pay attention when I want to debug the release version?

Because the only thing I did was simply activate this checkbox, but unfortunately the only time I was able to debug with the release version was with an iMac (Intel) using indesign 2019 and I only succeeded with that version with all the others no, because it gave me the same error that it gives me now on mac Studio.
I doubt that the problem is the pc I use, I'm probably ignoring something that's doesn't allow the correct functioning, but I don't know what.

I leave these two screenshots for you to understand better the possible problem.

Thank you in advance for the help.

Stefano5C37_0-1686140190227.png

Stefano5C37_2-1686140190237.png

Schermata 2023-06-07 alle 14.26.10.png

If it can help i leave the configuration of my computers : 

Device : MacStudio (M1 Max)

OS : MacOS (12.3.1)

Xcode : Xcode (version : 13.2.1)

InDesign 2021 It couldn't attach to process

InDesign 2022 It couldn't attach to process

InDesign 2023 It couldn't attach to process

 

Device : iMac (2012 intel)

OS : MacOS (10.15.7)

Xcode : Xcode (version : 12.2)

InDesign 2019 works, (only with this version I can debug a release version of insedign)

InDesign 2020 It couldn't attach to process

InDesign 2021 It couldn't attach to process

InDesign 2022 It couldn't attach to process

 

Stefano

TOPICS
How to , SDK
559
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Jun 08, 2023 Jun 08, 2023

I've found the solution here but this method is NOT raccomanded.

Schermata 2023-06-08 alle 10.46.14.png

Disabling the sip everything works correctly, but it is NOT a recommended practice at all.

If you disable SIP, it opens up the possibility of making changes to the operating system, including accessing and modifying sensitive system files. However, there are various negative aspects to consider:

  1. Compromised security: Disabling SIP makes the operating system more vulnerable to malware attacks and unauthorized modifications. Since SIP p
...
Translate
Community Expert ,
Jun 07, 2023 Jun 07, 2023

This seems more like an XCode bug, I have also faced this but never went deep into its investigation. Check the following link

https://developer.apple.com/forums/thread/120282

-Manan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 08, 2023 Jun 08, 2023

Schermata 2023-06-08 alle 10.12.10.png

If I try to remove the debug executable check box, the process is correctly launched, but obviously I can't debug by inserting breakpoints, but at least the process is launched and linked to xcode

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 08, 2023 Jun 08, 2023

Thanks Manan, i've already seen this article, but unfortunately nothing works for me.

- Stefano

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 08, 2023 Jun 08, 2023
LATEST

I've found the solution here but this method is NOT raccomanded.

Schermata 2023-06-08 alle 10.46.14.png

Disabling the sip everything works correctly, but it is NOT a recommended practice at all.

If you disable SIP, it opens up the possibility of making changes to the operating system, including accessing and modifying sensitive system files. However, there are various negative aspects to consider:

  1. Compromised security: Disabling SIP makes the operating system more vulnerable to malware attacks and unauthorized modifications. Since SIP provides significant protection, disabling it can expose the system to greater risks.
  2. System instability: Making changes to the operating system can result in system instability. Even a small incorrect modification can cause booting issues, frequent errors, or even system crashes.
  3. Operating system updates: Some macOS system updates require SIP to be enabled in order to be installed correctly. If SIP is disabled, you may need to temporarily re-enable it to apply security updates.
  4. Untrusted applications: By disabling SIP, you open up the possibility of installing and using untrusted or potentially harmful applications that could compromise the system or personal data

So pay close attention to disable the SIP.

 - Stefano

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines