Should be a, c, b… But why the debugger does not pause at the b?
In fact what happens - pseudo code:
loaddata();
chrome.storage.local.get(..., () => {
restore();
console.log('error: data not found');
});
// there is no function call here, at the current code