-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
bugbugs found in the applicationbugs found in the applicationdebugissues that related to debug functionalityissues that related to debug functionality
Description
Bug Description:
During execution, disabled break-points are deleted instead of being disabled.
Steps to Reproduce:
-
Add the below code on the editor
function callMe(i) {
// Return a string showing the call index.
return "Call" + i;
}function main() { // Call the function from a for-loop and print results const index = []; const idx = []; for (let i = 0; i < 10000; i++) { const result = callMe(i); // append to the array index.push(i); idx.push(i); console.log(`i=${i}, result=${result}`); } console.log("pause"); for (let i = 0; i < 10000; i++) { const result = callMe(i); // append to the array index.push(i); idx.push(i); console.log(`i=${i}, result=${result}`); } console.log("ende"); } // Run main main(); -
Set multiple breakpoints, select any valid lines.
-
Execute the program, it stops at one of the break-point.
-
Disable the breakpoints. Observe that the break-points are deleted.
NOTE: When only one break-point exists, this can disabled and enabled.
Additional Information
- Operating System: Linux
- Theia Version: I tested on the latest version of master.
Related issue : #8222
Metadata
Metadata
Assignees
Labels
bugbugs found in the applicationbugs found in the applicationdebugissues that related to debug functionalityissues that related to debug functionality
