Viewing a dynamically-allocated array with the Xcode debugger?

后端 未结 4 1755
自闭症患者
自闭症患者 2020-12-23 14:59

Let\'s say I have an array in C++:

double* velocity = new double[100];

Using the GDB command line, I can view this array with the command:<

4条回答
  •  北海茫月
    2020-12-23 15:30

    No unfortunately the GUI is limited and you will need to blend in a good mix of GDB magic to get things done.

提交回复
热议问题