How to Debug C++ Code in Visual Studio with Break Points Memory?

How to Debug C++ Code in Visual Studio with Break Points Memory?

tperam
Advocate Advocate
1,554 Views
4 Replies
Message 1 of 5

How to Debug C++ Code in Visual Studio with Break Points Memory?

tperam
Advocate
Advocate

 

How to Debug C++ Code  in Visual Studio with Break Points, Watch Window Memory Values?

 

Please Respond.

 

Thurai

0 Likes
Accepted solutions (1)
1,555 Views
4 Replies
Replies (4)
Message 2 of 5

goyals
Autodesk
Autodesk
Accepted solution

May be you can try below steps.

 

1. Start Fusion 

2. Build your add-in in Visual studio. 

3. Attach the Fusion process with Visual studio using Debug->Attach to Process

4. Put the breakpoint in run method of your add-in

5. Run your add-in from Fusion Add-in dialog. 

 

Please take a look at the help page in API documentation on this topic http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-ECC0A398-4D89-4776-A054-F7B432F7FCF6#Debuggin...

I hope it helps. Thanks.



Shyam Goyal
Sr. Software Dev. Manager
Message 3 of 5

tperam
Advocate
Advocate

Thanks Goyals.

 

Regards,

Thurai

0 Likes
Message 4 of 5

tperam
Advocate
Advocate

Hi Goyals,

                I Followed the steps.

It Worked.

 

Thanks Goyals

0 Likes
Message 5 of 5

LiveLover
Advocate
Advocate

Hello!

I follow these steps
but VS tells "The breakpoint will not currently be hit. No symbols have been loaded for this document."

LiveLover_0-1621415461575.png

I vary message text and I am sure that Fusion runs latest compiled Script project.

 

Any suggestions please!

0 Likes