Ticket Created
over 5 years ago

WERETECH-9598

SDK 3.2 settings view crash in simulator for Menu2 with default Menu2InputDelegate

The following code crashes the simulator by using the back button in the settings view.

This implementation creates a settings view without any function to give the user a hint that the settings can be found in the mobile app:

function getSettingsView() {
    var menu = new WatchUi.Menu2({:title=>"titel"});
    menu.addItem(new WatchUi.MenuItem("label", "subLabel", null, null));
    return [menu, new WatchUi.Menu2InputDelegate()];
}

Crash log of the simulator in the console:

Error: Symbol Not Found Error
Details: Could not find symbol 'Toybox'
Stack: 
- onBack() at /Users/rayburn/projects/toolchain5/mbsimulator/submodules/technology/monkeybrains/virtual-machine/api/WatchUi.mb:3259 0x30004bd9

On device (F6X) everythings works fine - no crash.