Embarcadero / Dev-Cpp

A fast, portable, simple, and free C/C++ IDE
https://www.embarcadero.com/free-tools/dev-cpp
GNU General Public License v2.0
2.43k stars 266 forks source link

debugger watcher does not update duplicated variables in subroutines #215

Open IPEfluencer opened 2 years ago

IPEfluencer commented 2 years ago

When a variable is redefined in subroutines, the debugger watcher does not properly update its value, example:

devcpp_no_watch_update_in_subroutines

The variable was initially set to 2 at the main function but redefined with the value 1 in the subroutine. However, the watch still shows value 2 - unlike the mouse over hint which is correct though.