Adding and debugging external project

a matching symbol was not found in this folder
how to debug class library project in c#
how to debug dll in visual studio 2017
debug referenced project visual studio
c# debug external assembly
how to debug c# project
how to debug vc++ project
how to debug c++ dll from c# project

I am developing an android app. I have added a new project to my gradle build as follows.... In the build.gradle I have added...

android {
    dependencies {
        implementation project(':code-scanner')
    }
...
}

In the settings.gradle I have added...

include ":code-scanner"
project(':code-scanner').projectDir = new File(settingsDir , "../External/code-scanner")

The project builds fine. But I would like to be able to browse the source, and add breakpoints to the code-scanner project, but it does not show up in Android Studio.

I have tried importing module , but the folder is missing from the subsequent select folder dialog.

How can I add this code to android studio, and set breakpoints and debug....


Just in case. Based on Android Documentation dependencies should be defined outside android block. Maybe Gradle Build figures out your code, but your Android Studio can't find source code of your library. What version of Android Studio are you using?

How to - Debug from a DLL Project, NET Framework DLLs, select Start external program, and add the fully qualified path and name of the calling app. Or, select Start browser with� Select the C++ DLL project in Solution Explorer. Select the Properties icon, press Alt + Enter, or right-click and choose Properties. In the <Project> Property Pages dialog box, make sure the Configuration field at the top of the window is set to Debug. Select Configuration Properties > Debugging.


1- Make sure you put implementation project(':code-scanner') in app level build.gradle file

2- dependencies block should not be inside android block:

Not like this:

android {
    dependencies {
        implementation project(':code-scanner')
    }
}

But like this:

android {
...
...
}

dependencies {
        implementation project(':code-scanner')
}

I don't know which IDE you are using but most IDEs like Android Studio or IntelliJ look like the pictures below.

Or you can view your folder structure in Project view like this:

If you didn't accidentally delete it, it should be there.

Debug DLL projects, For more information, see /ASSEMBLYDEBUG. Set C/C++ DLL file locations. To debug an external DLL, a calling project must be able to find the� Explicit Step Management ¶. The ExternalProject_Add() function on its own is often sufficient for incorporating an external project into the main build. Certain scenarios require additional work to implement desired behavior, such as adding in a custom step or making steps available as manually triggerable targets.


The actual problem is the location of the project, which is outside of the root project directory:

include ":code-scanner"
// project(':code-scanner').projectDir = new File(settingsDir , "../External/code-scanner")

Better add it as a library module within the root project, then the code should be within IDE scope.

If you don't want to move the project into there, you could put a built artifact into the libs directory.

Adding a symbolic link might also work out (it's rather a file-system issue than a Gradle issue).

How to Debug Through External Code ?, of stepping into the code of your project, the debug-symbols of that assembly must be exposed to the public. This is done by adding the Index� In the Open Project dialog box, select All Project Files, if not already selected, in the dropdown next to File name. Navigate to the .exe file, select it, and select Open. The file appears in a new, temporary Visual Studio solution. Start debugging the app by selecting an execution command, like Start Debugging, from the Debug menu.


'code-scanner' project you have to add as a library to the current project,for that in code-scanner build.gradle file you have to add apply plugin: 'com.android.library' please check if it is missing.

Using and Debugging External Source Code Packages in ASP.NET 5, If you want to add the library into your project now you need to first establish a project link by pointing at the� To debug code outside your project source code, such as Windows code or third-party code your project calls, you must specify the location of the external code's.pdb files (and optionally, the source files), which must exactly match the builds in your app. Symbol file locations and loading behavior


How to debug add-ins in Visual Studio, You can use the Visual Studio debugger to step through each line of add-in When an add-in project is created using ArcGIS Explorer templates, the debug start under the Start Action section, select the Start external program check box. Debug an Office Add-in. The procedure for debugging an Office Add-in varies by platform as well. Each of the following articles describes how to debug Office Add-ins on a specific platform: Attach a debugger from the task pane (on Windows) Debug add-ins using F12 developer tools on Windows 10. Debug add-ins in Office on the web. Debug Office


Debug External Code, External-source debugging is enabled by default. If you want the debugger to ignore library code, you� - Start project is the default, and launches the startup project for debugging. For more information, see Choose the startup project. - Start external program starts and attaches to an app that is not part of a Visual Studio project. For more information, see Attach to running processes with the debugger. - Start browser with URL lets you debug


Debugging in Visual Studio Code, To create a launch.json file, open your project folder in VS Code (File > Open In addition to debugging a program, VS Code supports running the program. run the debug target in VS Code's Integrated Terminal (or an external terminal),� VS Code keeps debugging configuration information in a launch.json file located in a .vscode folder in your workspace (project root folder) or in your user settings or workspace settings. To create a launch.json file, open your project folder in VS Code ( File > Open Folder ) and then select the Configure gear icon on the Run view top bar.