eclipse-cdt-cloud / eclipse-cdt-cloud/cdt-gdb-adapter
Local Variable of same name in between function update variable failed.
- Dominant language
- TypeScript
- Stars
- 39
- Forks
- 56
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 2
Description
I found a phenomenon similar to [cortex-debug issue]( https://github.com/Marus/cortex-debug/issues/923)
```
#include
#include
void function_one() {
int num = 10;
printf("function one\r\n");
}
void function_two() {
int num = 20;
printf("function two\r\n");
}
int main() {
printf("hello world!");
function_one();
function_two();
return 0;
}
```
_function_one_ context:

_function_two_ context:

**Additional:**
CDT GDB Debug Adapter Extension: v2.0.1
Version 1.60.200
VS Code API Version: 1.98.2
Contributor guide
Assessment
This issue has not been assessed yet.