How to debug in android studio with cocos2dx

Some point cocos2dx can debug in android studio I use version 3.16.
When I changed build type native to dual,Because I wanted to debug in java code.
Unfortunately brake point disable in c++.
But enabled in java...

I switch build type to native but can debug in c++.
Maybe changed settings in Android studio.

To debug in this case.
First run application with control with R
second attach process button above menu in android studio

android studio attach process button

We can change process like this image.

android studio build settings

I can attach process to do this.

このエントリーをはてなブックマークに追加