Hello. I am a C ++ programmer, but in linux and an android is a teapot. My task is to modify the webview component from the chromium project in order to change the rendering of some components. This modified webview will then be part of the delivery of our product. In fact, I need to make something like a web view shell from chromium.

At the moment I downloaded from git and crashed under the android web view shell from chromium. I work under ubuntu 14.04. Build from the command line with ninja.

Now the problem is:

If I worked under Windows, and the project would be under Visual Studio - everything would be simple. Sbildil, put the breakpoints where necessary, podebazhil, found code sections that are responsible for the rendering that I need to change.

And how is C ++ code manipulated and debugged (and in particular chromium) under ubuntu?

In Visual Studio, by solution explorer, you can immediately see what projects there are, what files belong to them, you can search by project, run debugging. Can I somehow work with chrome in ubuntu, debugging apk for android? At least at least graphically see the structure of the project, the relationship between files, who belongs to which lib and that's all as in normal IDE.

For me, now under the Ubuntu project looks like an 8-gig dump of C ++ files and how to do something with them with a notebook like sublime3 I can’t imagine. Do not debug such projects in notepad, putting breakpoints on the command line!?

    1 answer 1

    You have three options:

    1. Install Visual Studio Code , which helps only with editing code. No assembly, etc. it does not provide (has integration with GitHub ), but most likely has the necessary navigation functions in the project. Here more about the installation .

    2. Install Visual Studio in Wine . The process is most likely hemorrhoidal, but Play On Linux can simplify your task. You will get the environment you want in Ubuntu (and, if something goes wrong, a lot of experience).

    3. Download IDE for Ubuntu . It is very detailed about different environments - tyts .

    PS But in general, as practice shows, the coolest projects are created exclusively in the Vim environment: D.

    • "as practice shows, the coolest projects are created exclusively in the Vim environment" - enchanting nonsense. - PinkTux
    • @PinkTux, you do not understand jokes: \. - Rostislav Dugin