Hello,
We are having a hard time debugging our code base which is primarily C++ based. Class members in derived classes are shown as "outofscope" in some cases. In the following example, a.var1, a.var2, b.var1 and b.var2 are "outofscope". If A class is not instatiated, b.var1 and b.var2 are visible as expected which is strange.
[img]https://forum.segger.com/index.php/Attachment/6226/[/img]
Display All
Display All
The issue is not present if the code is compiled with Segger Embedded Studio
Stm32F439
Ozone 3.38f
-O0
GCC toolchain 12.2 (same issue on 14.2)
developer.arm.com/-/media/File…7E047708C49F9E16D17A85311
Related issue:
[ABANDONED] Problem with C++ and
We are having a hard time debugging our code base which is primarily C++ based. Class members in derived classes are shown as "outofscope" in some cases. In the following example, a.var1, a.var2, b.var1 and b.var2 are "outofscope". If A class is not instatiated, b.var1 and b.var2 are visible as expected which is strange.
[img]https://forum.segger.com/index.php/Attachment/6226/[/img]
C Source Code: AClass.h
C Source Code: main.cpp
The issue is not present if the code is compiled with Segger Embedded Studio
Stm32F439
Ozone 3.38f
-O0
GCC toolchain 12.2 (same issue on 14.2)
developer.arm.com/-/media/File…7E047708C49F9E16D17A85311
Related issue:
[ABANDONED] Problem with C++ and