ARM RealViewICE的C ++命名空间问题

时间:2021-01-09 19:47:48

I'm using ARM RealView debug 3.1 and I'm unable to watch variables inside functions defined in a C++ namespace, the code works well and is compiled with armcc. Do any of you know a solution for this?

我正在使用ARM RealView debug 3.1并且我无法在C ++命名空间中定义的函数内部查看变量,代码运行良好并使用armcc编译。你们中的任何人都知道解决方案吗?

2 个解决方案

#1


Are you truly unable to watch variables inside a namespace? What happens when you try?

您真的无法在命名空间中查看变量吗?你尝试会发生什么?

GDB requires that you explicitly give the namespace ::

GDB要求您明确指定名称空间::

I'm not sure what the ARM debugger requires.

我不确定ARM调试器需要什么。

#2


Well, arm confirmed this bug.

好吧,手臂证实了这个错误。

#1


Are you truly unable to watch variables inside a namespace? What happens when you try?

您真的无法在命名空间中查看变量吗?你尝试会发生什么?

GDB requires that you explicitly give the namespace ::

GDB要求您明确指定名称空间::

I'm not sure what the ARM debugger requires.

我不确定ARM调试器需要什么。

#2


Well, arm confirmed this bug.

好吧,手臂证实了这个错误。