You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skip reading CPU frequency from 'SystemCoreClock' after failure. (#658)
* Skip reading CPU frequency from 'SystemCoreClock' after failure. Retries after CPU Time Information reset.
* Initial CPU frequency update if target not stopped after connect
* Fix logic to keep previous frequency if getting undefined
// Skip update while running if we already have a frequency (update after next stop to avoid jumpy time display),
283
+
// or if session does not support access while running.
284
+
return;
285
+
}
286
+
// Update frequency if stopped or if initial update while running and access while running supported.
275
287
constfrequency=awaitthis.getFrequency();
288
+
if(frequency===undefined){
289
+
// Keep previous frequency value to avoid toggling between states and time display if there was a frequency before.
290
+
logger.debug(`CPU States: Unable to read frequency from target, keeping previous value '${states.frequency}' (Session: '${this.activeSession?.session.name})'`);
0 commit comments