如何使用连接到我们的目标的Linux TCF代理更改Xilinx SDK调试器中的变量值?
我使用Linux TCF代理将我的目标连接到我们的目标,以调试应用程序。
我在25年的职业生涯中使用了很多调试者,但这是我第一次使用Eclipse/Linux/Xilinx环境。我可以设置休息点。我可以一步浏览代码。我可以查看变量。我可以查看内存。我可以在内存位置键入新值,但是变量值不会更改。我尝试单击或双击变量窗格中的值。我尝试右键单击以查看它是否会给我一个修改值的选项。
我不确定如果不能更改变量值来更改软件的执行路径,那么调试工具是什么好的。
I am connected to our target over ethernet using the Linux TCF agent to debug an application.
I've used a lot of debuggers over my 25 year career, but this is my first time using Eclipse/Linux/Xilinx environment. I can set break points. I can single step through the code. I can view variables. I can view memory. I can type a new value in the memory location, but the variable value doesn't change. I tried to click or double click the value in the Variables pane. I tried right clicking to see if it would give me an option to modify the value.
I'm not sure what good a debugging tool is if I can't change a variable value to alter the execution path of my software...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
除了hacky解决方案外,我们还出现在评论中,即获取变量的地址,然后通过
MR
命令从xsct Console
修改它们。相同的控制台提供了正确g 。语法如下:
一个示例:
In addition to the hacky solution we came up in the comments, which is to get the address of a variable and then modify them through the
mr
command from thexsct console
, the same console provide commands to properly get/set a local variable.The syntax is the following:
And an example: