Yicong-Huang opened a new pull request, #3786: URL: https://github.com/apache/texera/pull/3786
This PR fixes an issue where a breakpoint cannot be removed. The root cause is that debugger rely on ConsoleMessages that contains events emitted from debugger to update the debugger UI, however the message got truncated, and lost information. For instance: ``` Deleted breakpoint 1 at /var/folders/vx/n8rz0dfx0lq3rmb976tsg1840000gn/T/tmprook3p18fsTempFS/udf-v1.py:9 ``` has been truncated to: ``` Deleted breakpoint 1 at /var/folders/vx/n8rz0dfx0lq3rmb976tsg1840000gn/T/tmprook3p18fsTem... ``` This causes the line number lost from the message, and UI cannot remove breakpoint from the correct line. This PR fixes the issue by temporarily disable truncating for ConsoleMessages emitted by the debugger. A long term solution should not truncate the ground truth message, but to alter display only. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
