Display array during debug with android NDK

Asked

Viewed 18 times

1

On android, when debugging my program I can see the vector and content of it: inserir a descrição da imagem aqui

I have to pass this vector from android (java) to C++ and I’m using NDK.

public native void testeVetor(double[] vetorDados);
testeVetor(vetorDados);

testeVetor is a function in C++:

Função no C++

Currently when I debug, when it arrives at C++, it shows the vector this way: Só mostra a primeira posição do vetor

My question is: when I am debugging, how can I display the vector in C++ just as it is displayed in java?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.