<?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: Debugging ribbon code in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13007437#M3207</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7672376"&gt;@james.levieux&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps this thread will help you: &lt;A href="https://forums.autodesk.com/t5/revit-api-forum/debug-revit-2025-pluggin-on-visual-studio-2025/m-p/12773645/highlight/true#M78877" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/debug-revit-2025-pluggin-on-visual-studio-2025/m-p/12773645/highlight/true#M78877&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 08 Sep 2024 09:23:38 GMT</pubDate>
    <dc:creator>nice3point</dc:creator>
    <dc:date>2024-09-08T09:23:38Z</dc:date>
    <item>
      <title>Debugging ribbon code</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13003979#M3202</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've just updated my multi-targeted addin to version 2025 and it wasn't easy, but it's finally working now...except for the ribbon.&amp;nbsp; I can test all the commands using the Addin Manager but after all the troubleshooting, my ribbon still doesn't appear...with no errors so I have no idea what might be happening.&amp;nbsp; I want to run it through a debugger to find out if my ribbon code is even being hit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is, that it's been such a long time since I had problems with my ribbon that I can't even remember how I used to debug it!&amp;nbsp; I looked for instructions but the environment for a net8 program in VS2022 has changed so much that the instructions that I've found bear little resemblance to my current environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any rudimentary outline of what needs to be done may jar my memory...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 01:09:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13003979#M3202</guid>
      <dc:creator>james.levieux</dc:creator>
      <dc:date>2024-09-06T01:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ribbon code</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13004177#M3203</link>
      <description>&lt;P&gt;Well, it all starts out in the external application OnStartup method... you should be able to step into the ribbon creation code from there...&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 04:53:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13004177#M3203</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-09-06T04:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ribbon code</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13004340#M3204</link>
      <description>&lt;P&gt;You can share the code so we can better understand your problem.&lt;/P&gt;&lt;P&gt;Take a look at the examples of basic add-ins here, maybe simple examples will make it clearer to you and you will find the error in your code faster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Nice3point/RevitTemplates/tree/main/samples" target="_blank"&gt;https://github.com/Nice3point/RevitTemplates/tree/main/samples&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 07:17:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13004340#M3204</guid>
      <dc:creator>nice3point</dc:creator>
      <dc:date>2024-09-06T07:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ribbon code</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13007145#M3205</link>
      <description>&lt;P&gt;I like your templates Nice3points!&amp;nbsp; Good stuff.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No offence to you but I really want to be able to debug my code myself rather than rely on you guys for every typo!&amp;nbsp; I do a LOT of typoes.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 01:42:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13007145#M3205</guid>
      <dc:creator>james.levieux</dc:creator>
      <dc:date>2024-09-08T01:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ribbon code</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13007158#M3206</link>
      <description>&lt;P&gt;Hi Jeremy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I've seen in the past looks like this below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can specify the path for the startup program that would be launched, then my addin's OnStartup code would be debugged as the program opened and initialized.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jameslevieux_0-1725759773242.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1406748iE9A4F59EE5ABC79D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jameslevieux_0-1725759773242.png" alt="jameslevieux_0-1725759773242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, when I convert to a .net8 project in VS 2022, I see this gobbledygook with no "start external program" available.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jameslevieux_1-1725760090344.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1406749iDC9AE94C87E0A6AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jameslevieux_1-1725760090344.png" alt="jameslevieux_1-1725760090344.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 02:00:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13007158#M3206</guid>
      <dc:creator>james.levieux</dc:creator>
      <dc:date>2024-09-08T02:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ribbon code</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13007437#M3207</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7672376"&gt;@james.levieux&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps this thread will help you: &lt;A href="https://forums.autodesk.com/t5/revit-api-forum/debug-revit-2025-pluggin-on-visual-studio-2025/m-p/12773645/highlight/true#M78877" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/debug-revit-2025-pluggin-on-visual-studio-2025/m-p/12773645/highlight/true#M78877&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 09:23:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13007437#M3207</guid>
      <dc:creator>nice3point</dc:creator>
      <dc:date>2024-09-08T09:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ribbon code</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13066038#M3208</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found it!&amp;nbsp; This new(ish?) feature called "Launch Profiles" in VS is what is needed to do the job.&amp;nbsp; When you create a new profile you can choose between "Executable" and "Project".&amp;nbsp; You can give each profile a name, then these profiles become available using the drop-down on the green run button, so you can choose between a DLL launch or an EXE launch.&amp;nbsp; Yay!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, the bad news is, when I try to debug my project, all the symbols load and Revit starts, and I can open a project file, but my ribbon is still not there and then worst thing...I'm not hitting any break points.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, given all these new settings, I'd like some recommendations from Autodesk on all the appropriate debug settings in this new updated VS/.NET8&amp;nbsp; environment.&amp;nbsp; Does anything like that exist that is updated for 2025?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jameslevieux_0-1728087759069.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1418141i94CC33D5F9B930FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jameslevieux_0-1728087759069.png" alt="jameslevieux_0-1728087759069.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jameslevieux_1-1728088084133.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1418142iF424C4C0A137712C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jameslevieux_1-1728088084133.png" alt="jameslevieux_1-1728088084133.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2024 00:39:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/debugging-ribbon-code/m-p/13066038#M3208</guid>
      <dc:creator>james.levieux</dc:creator>
      <dc:date>2024-10-05T00:39:03Z</dc:date>
    </item>
  </channel>
</rss>

