Autodesk / cam-posteditor

Autodesk HSM Post Processor for Visual Studio Code
MIT License
19 stars 6 forks source link

Doubleclick on Debugged file does't run #74

Open Pitonebruce opened 5 months ago

Pitonebruce commented 5 months ago

Greetings, I'm using VScode to edit Fusion360 postprocessors but since yesterday the link to the post line with a double click no longer works. at first I got a notification (see image). Now I don't get that notification anymore but the feature doesn't work. I tried uninstalling and reinstalling both visual sudio code and the plugin, or going back to a previous version but nothing, it doesn't work. I'm desperate... can you help me please? Thanks in advance.

Daniele.

Cattura

TilNicolai commented 4 months ago

i have the same problem.. does anything changed or got solved for this problem? i need this function to double click on the debugged file and jump to the definition of it otherwise it would be horrible to work on PP for fusion360.

AchimStuy commented 3 months ago

I have debugged a little bit on @TilNicolai's pc. Enabling Show Debugged Code we found, that there are some !DEBUG lines in the debugged file, but none with line numbers, from where the extension reads the line number to jump to. Compare output on my pc:

!DEBUG: command:{"name":"onOpen"}
!DEBUG: onOpen()
!DEBUG: 1 MTH-MT - HSM IC - Siemens-840d inspection.cps:433
; %_N_1001_MPF
!DEBUG: 1 MTH-MT - HSM IC - Siemens-840d inspection.cps:447
* - --------------------
!DEBUG: 1 MTH-MT - HSM IC - Siemens-840d inspection.cps:455
; NC erzeugt am 24.05.2024 - 11:17 Uhr
!DEBUG: 1 MTH-MT - HSM IC - Siemens-840d inspection.cps:456
; Benutzer: tnicolai
!DEBUG: 1 MTH-MT - HSM IC - Siemens-840d inspection.cps:457
; CAD-Datei: PP_Test_01 (v3~recovered)
!DEBUG: 1 MTH-MT - HSM IC - Siemens-840d inspection.cps:459
; Maschine: UNITECH HSM IC
!DEBUG: 1 MTH-MT - HSM IC - Siemens-840d inspection.cps:460
* - --------------------
!DEBUG: 1 MTH-MT - HSM IC - Siemens-840d inspection.cps:486
;  Werkzeugliste
!DEBUG: 1 MTH-MT - HSM IC - Siemens-840d inspection.cps:501
;  T1 | SF_6mm | D=6 | flat end mill
!DEBUG: 1 MTH-MT - HSM IC - Siemens-840d inspection.cps:501
;  T2 | SF_3mm | D=3 | flat end mill
!DEBUG: 1 MTH-MT - HSM IC - Siemens-840d inspection.cps:501
;  T4 | Plan_16mm | D=16 | ER=0.5 | face mill
...

and on Til's pc:

!DEBUG: onOpen()
; NC erzeugt am 24.05.2024 - 11:17 Uhr
; Benutzer: tnicolai
; CAD-Datei: PP_Test_01 (v3~recovered)
; Maschine: UNITECH HSM IC
* - --------------------
;  Werkzeugliste
;  T1 | SF_6mm | D=6 | flat end mill
;  T2 | SF_3mm | D=3 | flat end mill
;  T4 | Plan_16mm | D=16 | ER=0.5 | face mill
...

We have the same version of Fusion and post.exe installed. Where is the problem? Where to get support?