Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disable socket timeout while debugging in VisualStudioCode

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Daisuke.Inokuma1
274 Views, 1 Reply

Disable socket timeout while debugging in VisualStudioCode

I develop Python scripts using Fusion360's API, and I use VSCode for the debuging.

After "June 2020 Product Update", I noticed that debugging was possible only for 30 seconds, because a socket times out.

 

30 seconds later, the following exception occurs after starting debug:

添付画像1_発生例外.png

It occurs by all cases unless I disconnect a debug session during 30 seconds.

 

I think this trouble is like to following:

Disable timeout while debugging in VS Code - Autodesk Community - Fusion 360
https://forums.autodesk.com/t5/fusion-360-api-and-scripts/disable-timeout-while-debugging-in-vs-code...

 

I done so many times reboot of Fusion360 to retry debug, because 30 seconds are too tiny.

 

How can I evade socket timeout?

 

My environment:

OS: Windows10 x64 Version1803 (10.0.17134.1488)
VS-Code Version: 1.44.0
VS-Code Python Extension Version: 2019.9.34911

 

Thank you in advance.

Labels (1)
1 REPLY 1
Message 2 of 2

II think this trouble is same as the following:

 

socket.timeout: timed out - Autodesk Community - Fusion 360
https://forums.autodesk.com/t5/fusion-360-api-and-scripts/socket-timeout-timed-out/td-p/9278392

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report