Search This Blog

Friday, September 20, 2013

Visual Studio 2010 - Remote debugging of processes on x64/x86 Windows XP running on VirtualBox



There is a possibility to remotely debug processes on x64/x86 Windows XP running on VirtualBox.

In order to debug remotely one needs to setup some security settings first:
Open:
  1. Control Panel
  2. Administrative Tools
  3. Local Security Settings
  4. Network access: Sharing and security model for local accounts
  5. and we set this to:
    Classic - local users authenticate as themselves





We have to download the Visual Studio Remote Debugger: Visual Studio Remote Debugger x64 x64.7z

and set its options:
  • No Authentication (native-only)
  • Allow any user to debug




In Visual Studio we select: Debug -> Attach to process

And choose transport: Remote.

Next we enter the computer name and click Refresh.






Sadly on Visual Studio 2012 it is NOT possible to debug remotely on Windows XP:

http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx

Remote Debugging The Remote Tools for Visual Studio 2012 do not support remote debugging on an XP client. When debugging on Windows XP is required, it is recommended to use the debuggers of an older version of Visual Studio, such as Visual Studio 2010, for local or remote debugging. This is in line with the Windows Vista experience for Visual Studio 2012 RTM, which is a runtime target but not a remote debugging target.


EDIT:

To enable the debugger to LOAD SYMBOLS for debugging - change NO AUTHENTICATION to WINDOWS AUTHENTICATION.

Monday, September 16, 2013

Android 4.1+ full application backup using ADB without ROOT!

Backing all your application data from Android 4.1 (Jelly Bean) and up is really easy.

1. Step one: Enable developer options & USB debugging on your phone
2. Step two:

To backup
> adb backup -apk -all -f backup.ab

To restore:
> adb restore backup.ab


Backup process takes usually from 5 to 10 minutes.


More at:
HTC One root (how to backup using ADB)

Monday, September 2, 2013

Android 4.x Galaxy S3 MTP on Ubuntu

MTP protocol on Ubuntu 10.04 is very unstable. Fortunately there is a FUSE filesystem called Go-mtpfs, created by a Google employee because "mtpfs was very unstable".

To install go-mtpfs on Ubuntu and connect Samsung Galaxy S3 using MTP on Ubuntu just do the following:

sudo add-apt-repository ppa:webupd8team/unstable
sudo apt-get update
sudo apt-get install go-mtpfs
sudo apt-get install go-mtpfs-unity

Then from "Dash home" search for "mtp" and an application (actually a script) called "Mount Android Device" should come up.

Right-click and choose "Mount Android Device".

The phone will be mounted as "MyAndroid" device.

source:
http://www.webupd8.org/2012/12/how-to-mount-android-40-ubuntu-go-mtpfs.html
http://www.youtube.com/watch?v=6pelKv939N8

Why did I choose go-mtpfs in the first place?
mtpfs gave me an errors and loaded for long minutes or not at all.