<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Debug AddOns in XCode (Mac OS, AC15) in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167527#M5783</link>
    <description>Thank You, Tibor!&lt;BR /&gt;
But i get an error &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;&lt;BR /&gt;
"No launchable executable present at path"&lt;BR /&gt;
And it means that i was did all rightly. May be my problem that to test the debugger I use VMWare (I try compiling for Mac OS in the virtual machine on Win)...</description>
    <pubDate>Mon, 08 Jul 2013 14:34:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-08T14:34:57Z</dc:date>
    <item>
      <title>Debug AddOns in XCode (macOS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167525#M5781</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I have no problem when debug AddOns in the Windows.&lt;BR /&gt;And in the macOS my addons, compiled with XCode 3.2.1, work properly.&lt;BR /&gt;&lt;BR /&gt;But I don't undestand how attach XCode debugger to debug my AddOns in the macOS.&lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_redface.gif" border="0" /&gt;&lt;BR /&gt;&lt;BR /&gt;Please, help who know ).&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Aug 2023 12:03:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167525#M5781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-02T12:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167526#M5782</link>
      <description>Hi Tsepov,  &lt;BR /&gt;
  &lt;BR /&gt;
If ArchiCAD is already running, you can do it in &lt;B&gt;Product / Attach to Process&lt;/B&gt; menu selecting ArchiCAD from the applications.  &lt;BR /&gt;
  &lt;BR /&gt;
Best regards,  &lt;BR /&gt;
Tibor</description>
      <pubDate>Mon, 08 Jul 2013 09:07:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167526#M5782</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2013-07-08T09:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167527#M5783</link>
      <description>Thank You, Tibor!&lt;BR /&gt;
But i get an error &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;&lt;BR /&gt;
"No launchable executable present at path"&lt;BR /&gt;
And it means that i was did all rightly. May be my problem that to test the debugger I use VMWare (I try compiling for Mac OS in the virtual machine on Win)...</description>
      <pubDate>Mon, 08 Jul 2013 14:34:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167527#M5783</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-08T14:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167528#M5784</link>
      <description>&lt;BLOCKQUOTE&gt;Tsepov wrote:&lt;BR /&gt;But I don't undestand how attach XCode debugger to debug my AddOns in the Mac OS.&lt;/BLOCKQUOTE&gt;
If you're using Xcode 3.x, you can define one or more executables to be launched for debugging. Look at the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Executables&lt;E&gt;&lt;/E&gt; section in the list of &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Groups &amp;amp; Files&lt;E&gt;&lt;/E&gt;. If you right-click, you can add ArchiCAD to the list (see attached image). Then when you start debugging, it will launch ArchiCAD and the debugger will attach to it.</description>
      <pubDate>Wed, 10 Jul 2013 09:56:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167528#M5784</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2013-07-10T09:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167529#M5785</link>
      <description>&lt;BLOCKQUOTE&gt;Tsepov wrote:&lt;BR /&gt;But I don't undestand how attach XCode debugger to debug my AddOns in the Mac OS&lt;/BLOCKQUOTE&gt;
For Xcode 4.x, it's slightly different (better IMO). You define the debugging executable in the relevant scheme (see attached image). When you run, the debugger attaches to the specified executable.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/13938i3BE27F686D0DDA03/image-size/large?v=v2&amp;amp;px=999" border="0" alt="xcode463.jpeg" title="xcode463.jpeg" /&gt;</description>
      <pubDate>Wed, 10 Jul 2013 09:59:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167529#M5785</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2013-07-10T09:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167530#M5786</link>
      <description>Thank you very much!&lt;BR /&gt;
Everything works as it should!&lt;BR /&gt;
Sincerely, Yury</description>
      <pubDate>Fri, 12 Jul 2013 02:47:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167530#M5786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-12T02:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167531#M5787</link>
      <description>Hi !&lt;BR /&gt;
&lt;BR /&gt;
I'm unearthing this old post in order to keep info centralized.&lt;BR /&gt;
I am too having a problem with XCode debugging : As i attach XCode to ArchiCAD, open the XCode console and launch my addon, I can not see any output, despite the console being set to "All Output".&lt;BR /&gt;
&lt;BR /&gt;
Using breakpoints doesn't help me much either, as I sometimes end up with and lldb prompt in the console, or with dessassemblied ASM to go through when I try to use any sort of breakpoint / pause etc.&lt;BR /&gt;
&lt;BR /&gt;
I have already gone through what is on this page : &lt;A href="http://archicadapi.graphisoft.com/tools-for-debugging?_ga=2.8108533.691920868.1524568776-219266765.1522773012" target="_blank"&gt;&lt;LINK_TEXT text="http://archicadapi.graphisoft.com/tools ... 1522773012"&gt;http://archicadapi.graphisoft.com/tools-for-debugging?_ga=2.8108533.691920868.1524568776-219266765.1522773012&lt;/LINK_TEXT&gt;&lt;/A&gt; , and I have no difficulty obtaining debug output on Visual Studio.&lt;BR /&gt;
&lt;BR /&gt;
I am running this inside a High Sierra VM , and AC21.&lt;BR /&gt;
&lt;BR /&gt;
Do you have any leads for me ? Thanks !</description>
      <pubDate>Tue, 24 Apr 2018 12:24:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167531#M5787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-24T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167532#M5788</link>
      <description>Sounds like you're building with a release configuration. Check the active scheme to ensure it's set to build the debug configuration (and that the build target has the appropriate debug settings).</description>
      <pubDate>Tue, 24 Apr 2018 12:31:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167532#M5788</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2018-04-24T12:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167533#M5789</link>
      <description>Checked my project, It was building in Debug mode, so I guess that's not the problem.&lt;BR /&gt;
&lt;BR /&gt;
As i am a beginner using XCode, I tried using an Example plugin, peppering it with DBPrintf statements and running it while attached to ArchiCAD in case I botched the settings on my own project, but no more luck : still nothing in the console.&lt;BR /&gt;
I opened the View&amp;gt;Debug Area&amp;gt;Activate Console window, could you confirm me It's the right one ?</description>
      <pubDate>Tue, 24 Apr 2018 12:48:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167533#M5789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-24T12:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167534#M5790</link>
      <description>Yep, that should display the console output from DBPrintf – and it should write the console log even when running the release build. How are you launching ARCHICAD?</description>
      <pubDate>Wed, 25 Apr 2018 09:09:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167534#M5790</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2018-04-25T09:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167535#M5791</link>
      <description>I am launching it from my dock, which I guess is a shortcut for the ArchiCAD21.app in "/Applications/GRAPHISOFT/ARCHICAD 21".&lt;BR /&gt;
Just tried launching it using "open ARCHICAD\ 21.app" from that same directory, no more luck.</description>
      <pubDate>Wed, 25 Apr 2018 09:31:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167535#M5791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-25T09:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167536#M5792</link>
      <description>OK, that's the answer. You want to set ARCHICAD as the executable in the scheme and use Xcode's &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Product &amp;gt; Run&lt;E&gt;&lt;/E&gt; menu.</description>
      <pubDate>Wed, 25 Apr 2018 09:36:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167536#M5792</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2018-04-25T09:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Debug AddOns in XCode (Mac OS, AC15)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167537#M5793</link>
      <description>Thanks a lot, it works, I can now use the debugger correctly !&lt;BR /&gt;
Though it is a bit annoying that i have to close / open ArchiCAD each time I want to make a change, it's wayyyy better than nothing.&lt;BR /&gt;
&lt;BR /&gt;
Thank you!</description>
      <pubDate>Wed, 25 Apr 2018 09:57:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Debug-AddOns-in-XCode-macOS-AC15/m-p/167537#M5793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-25T09:57:44Z</dc:date>
    </item>
  </channel>
</rss>

