'Starting LLDB server' when debugging c++ in Android studio - c++

I want to debug c++ module in Android Studio.
I create a project with c++ support in android studio.
When i debug, this is what i get.
'Starting LLDB server' will never stop. If I stop debugging, its still there. If I exit android studio, i get warning about running background process. I already installed LLDB in SDK manager. I have enable debugging in my device.
What should I do?

In Android Studio 3.5 I encounter similar issue with LLDB debugger - where "Starting LLDB server" process hangs forever, no debugging process is started. Check this answer.

I was having this problem today all of a sudden Android Studio 3.5.3. What fixed it for me was to uninstall & reinstall Android SDK Platform Tools and LLDB.
This was the exact steps I followed:
Open Android Studio
-> Preferences
-> Appearance & Behavior
-> System Settings
-> Android SDK
-> SDK Tools tab
Uncheck LLDB and Android SDK Platform-Tools
Click Apply & let sdkmanager uninstall those items.
Re-Check LLDB (I'm using 3.1) and Android SDK Platform-Tools (I'm using 29.0.5)
Click Apply & let sdkmanager install those items
Quit Android Studio & any running emulators
Restart Android Studio
After that, running the debugger no longer hangs at Starting LLDB Server for me.

I was having the same problem. I realized it was caused by using ADB over WiFi.
But when I connected the phone via USB cable and tried to start debugging this way, it was still stuck.
I had to disable the WiFi on the phone and then it started working immediately.

Related

Can not debug with attach to process VS Pro 2017

I deployed my MVC project to IIS and now I need to debug code by attach process but it not work.
These are steps that I did to debug:
Run my solution with Visual Studio Pro 2017 as Admin
Debug -> Attach to process...
Attach w3wp.exe process
Restart my site in IIS Manager
Run my site in browsers to debug
After above steps, my breakpoints always warning:
The breakpoint will not current be hit. No symbols have been loaded
for this document.
I can debug my code in the other PC with above steps but this way have problem with my laptop.
How can I fix this?
Thanks all.
I resolved my problem by:
Debug -> Options...
Uncheck at "Enable Just My Code"
I installed the newest Visual Studio Professional 2017 (15.8.5) to my laptop. In this version, above option is checked as default.

Windows server 2012 r2 core interface disable

I successfully installed windows server 2012 R2 .After setting admin password,and login,I am getting command window instead of GUI.
Can anyone please help me come out of this issue.I tried several methods but still in midst of problem.
Waiting for reply..
It seems like you did infact install Windows core version. Make a new installation and select Windows server (with GUI) from the menu. If youre not prompted this during installation, then it is most likely not the correct install media.

remote debugging windows 8.1 driver Visual studio 2013

I'm trying to set up remote debugging on Visual studio 2013.
I think I installed everything on my computer and the hyper-v machine too + updated.
So whats happening:
I open a microsoft UMDF driver sample. (I can build it without any errors).
I select Debugging tools for windows remote debugger.
Then a message box pops up named Deployment not configured.
I select I know what I'm doing continue debugging.
Then the Computer configuration wizard starts add new computer.
I select provision computer and automatically configure debuggers.
Then the configuration process configure my hyper-v machine fine.
Installs the necessary files restart the computer and log in with the name WDKRemoteUser.
Then I Click Finish then this error pop-up.
The required property 'DbgengRemoteCommand' is missing or empty. (OK)
So I need to fill up the package property pages->configuration properties->debugging->
Remote Command, Remote Command Arguments, Remote Working Directory, Remote Computer name manually?
And if I had to what should I write there or I miss something else?
You only need to specify the "Remote Working Directory" parameter and you can just give it the same path as your build directory and you should be good.

Debugging cocos2d-x 3.1 android project via eclipse on mac

I have setup my environment based on this video steps:
https://www.youtube.com/watch?v=2LI1IrRp_0w
It helped me to run the app on the device but I cannot debug it. Now I want to be able to debug the test project. By saying debug I mean to placing breakpoints, run application of device and see that it stops on breakpoints. Also I want to see the stacktrace. How I can do this? What eclipse setting I need to configure?

How to get start with Appcelerator Titanium

I am very new to Appcelerator Titanium. I followed the instructions and could able to successfully install the software and android sdk(only android for the time being). But as the site suggested when I tried to import and run the KitchenSink, I can see nothing on my emulator. It is not running. What will be the issue?
Or are there any other simple project ? Please help me
Regards
KitchenSink is some heavy application.
So start your emulator and then run project from Titanium Studio, wait for some time. If it is not running after this, check your android SDKsetting (Window->Preferences->Titanium Studio->Titanium)also check your java environment variable setting.
When your application setting will get properly done, your application will definitely execute.