Debug not kick into the correct breakpoint

*Summary
debug not kick into the correct breakpoint

*Steps to reproduce
1.test case A copy from another test case B

2.set breakpoints in test case A

3.debug test case A

*Expected Results

when meet breakpoint, should cursor in correct test case file and correct line

*Actual Results

when meet breakpoint, log info shows correct test case file, but cursor highlight in wrong(copied) test case file and also wrong code line

*Screenshots / Videos

*Blocker?
No


*Operating System
Windows 11

*Katalon Studio version
version 10.2.4

2 Likes
  1. Manually Clean and Rebuild Project
  • Close Katalon Studio.
  • Delete the bin/ and Libs/ folders in your project workspace.
  • Reopen and let Katalon rebuild—sometimes this resets file references.
  1. Recreate Test Case Instead of Copy-Paste
  • Create a new test case from scratch and copy only script content (not the test case object itself).
  • Save with a unique name to ensure metadata/IDs are not shared.
  1. Resave and Rename
  • Try renaming the new test case (test case A) after copying, saving, closing, and reopening it before debugging.
  1. Update to Latest Katalon Version
  • Some debugging and editor synchronization bugs have been fixed in recent releases

hey @flossilos_x_liu_manu

try to do Close and Clean up

1 Like