dbox
Junior Member
Posts: 84
|
Post by dbox on Sept 20, 2023 19:57:13 GMT
One feature that was added in the last release that can help with troubleshooting your QBJS program is the Console library. This lets you write logging messages to the QBJS console window based on a log level. You can click the message in the log and it will take you to the corresponding line of code. If you just want to print text to the console window and you don't really care about line numbers, you can use the Console.Echo method. [qbjs]https://qbjs.org/?code=SW1wb3J0IENvbnNvbGUgRnJvbSAibGliL3dlYi9jxhYuYmFzIgoKJyBZb3UgY2FuIGNoYW5nZSB0aGUgbG9nIGxldmVsIHRvIGFmZmVjdCB3aGljaCBtZXNzYWdlcwonIHdpbGwgYmUgZGlzcGxheWVkLiBUaGUgYXZhaWxhYmzLRnMgYXJlOgonIE5PTkUsIEZBVEFMLCBFUlJPUiwgV0FSTiwgSU5GTywgREVCVUcsIFRSQUNFLCBBTEwK5wDDLkxvZ0zES+gA1C7FKwrMICAiVGhpcyBpcyBhbiBpbmZv6ACtLiLXJyB0cmFjZcgnLCBpdOkA1Wlnbm9yZWQuIizJcuUAlgpEb1N0dWZmynpFY2hvICJBbmQgdGh1cyBjb25jbHVkZXPlAUlleGhpbGFyYXRpbmcgZGVtb25zdMQOb24gb2bFIlFCSlPIYyBsaWJyYXJ5LiIKCgpTdWIgyG0gICDIJOYAw0JlZm9yZSBEb8RYxSTrAKnmARvENFByaW50ICJmb28ixRB1aCBvaCBoZXJl5wEnZXJyb3IgbGluZcUgRXhpdCBTdWLScXdvbmRlciB3aHkgd2UgbmV2ZXIgZ2V0xUw/zHxlYnVnCkVuZMRH[/qbjs]
|
|