解决日志断点不能输出数组变量问题

This commit is contained in:
xuhong 2024-05-27 16:07:56 +08:00
parent 2e7d6bb726
commit a18e33c0a1
1 changed files with 1 additions and 1 deletions

View File

@ -678,7 +678,7 @@ export class MI2 extends EventEmitter implements IBackend {
setLogPoint(bkptNum, command): Thenable<any> {
// this.log("stderr", `setLogoPoint : ` + command);
const regex = /{([a-z0-9A-Z-_\.\>\&\*]*)}/gm;
const regex = /{([a-z0-9A-Z-_\.\>\&\*\[\]]*)}/gm;
// Alternative syntax using RegExp constructor
// const regex = new RegExp('{([a-z0-9A-Z-_\\*]*)}', 'gm')