any one else having issues since the latest VScode update?

All my projects are crashing where they previously opened moments before the upgrade

  • Is it a VS Code Update, or an SDK Update?  The latest SDKs have type checking on by default, but there you will seeing messages from the compiler, and not a crash when running.

  • Hi Jim, VScode updated, 

    Just tried my same code on an older laptop and it worked, now testing an update of vscode on that to see if it breaks again. 

  • oddly the copy of the same code from a USB stick works fine on one laptop not on the other. Full uninstall of studio and the sdk etc and its still not working.  

    same versions on both laptops (only windows 11 version different) 

  • debug console shows

    Error: Symbol Not Found Error
    Details: Could not find symbol '00800739'
    Stack: 
      - 0x100007b8 
    
    Error: Symbol Not Found Error
    Details: Could not find symbol '00800739'
    Stack: 
      - 0x100007b8 
    
    Encountered app crash.
    
    

    My debug log shows this for that hex

    <entry filename="D:\\py\\LESnow\\source\\LETideWidgetApp.mc" id="42" lineNum="8" parent="globals/LETideWidgetAppETL" pc="268437434" symbol="<init>"/>
    <entry filename="D:\\py\\LESnow\\source\\LETideWidgetApp.mc" id="42" lineNum="8" parent="globals/LETideWidgetAppETL" pc="268437434" symbol="<init>"/>

    code in that file region is 

    using Toybox.Application as App;
    using Toybox.Background as Bg;
    using Toybox.System as Sys;
    using Toybox.WatchUi as Ui;
    using Toybox.Time;
    
    (:background :glance)
    class LETideWidgetAppETL extends App.AppBase {
    	var mainView = null;
    	hidden var _subView;
    	
        function initialize() {
            AppBase.initialize();

    not sure what its telling me here. I get the same for any code examples. But this very same code runs fine on my older laptop.

    Any ideas anyone?

  • maybe you should remove :glance so try only (:background)

  • Thanks _PSX, However, tried that, no joy

  • do you have background permission in manifest?

  • yep, like i say, literally take the folder of code across to another verion of vscode and it works, no issues.  I have signed in as another profiel on this laptop re-installed vscode, sdk manager monkey C plugin and I get the same failure. 

    I manage to get a simulator to show a fenix5 but nothing seems to work on the simulkator as I cant save any settings. Very odd.  I dont think this is code related something has gone wrong with the vscode/monkey c environment but a re-install doesnt fix it. 

    Monkey C validation passes, nothing else on the port used by the simulator, tried as a local admin and also stopped the firewall just incases 

  • I use eclipse... But strange is that you see 0x100007b8  instead of name of func so probably error is in background and probably (I can't see whole code) something using something not annotated as :background.

    Which version of sdk do you use? Is it widget or app?

    If you look into prg.debug.xml in bin directory you can find pc="268437434" and you will see the name of class.

    Do you have valid entry in manifest?

  • you've lost me there, the above shows the debug log which suggest symbol is "symbol="<init>"/ which makes no sense to me. 

    im literally opening the vscode workspace from a usb stick between 2 laptops, 1 works tjhe other does not and gives these errors

    So far I have uninstalled re-installed VScode, sdk manager * skd/devices (using 4.0.9)

    uninstalled any windows updates installed today. 

    uninstalled Vscode extensions - reinstalled only monkey c

    uninstalled / re-instaleld jre1.8.0_351

    my two laptops are now at exactly the same versions of everything yet 1 works well (runs code and shows sim) and the other does this.