Skip to content

Commit e4f07bc

Browse files
authored
Merge pull request #11 from PhilippHaefele/bugfix/ucos-ii-task-name
Fix issue with not showing uC/OS-II thread names
2 parents dd48f14 + 290fc53 commit e4f07bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtos/rtos-ucosii.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export class RTOSUCOS2 extends RTOSCommon.RTOSBase {
234234
const threadId = curTaskObj['OSTCBId']?.val;
235235

236236
let thName = '???';
237-
if (curTaskObj['OSTCBTaskName-exp']) {
237+
if (curTaskObj['OSTCBTaskName']) {
238238
const tmpThName = await this.getExprVal('(char *)' + curTaskObj['OSTCBTaskName']?.exp, frameId) || '';
239239
const matchName = tmpThName.match(/"([^*]*)"$/);
240240
thName = matchName ? matchName[1] : tmpThName;

0 commit comments

Comments
 (0)