FreakyZoidberg

Accueil | Tags | Archives

Debug android project with eclipse

Developing android application is fairly easy if you know java, but as it use a android virtual machine to run your application, debugs are somehow not clearly appearing.

The good news is Android Plugin for Eclipse also has excellent integration with the Eclipse debugger.

you can test by yourself by adding a NullPointerException into your code. If you run your application again, you'll eventually see this:

hello_world_8.png

To find out more about the error, set a breakpoint in your source code on the line Object o = null; (double-click on the marker bar next to the source code line).

Then select Run > Debug History > Hello, Android from the menu to enter debug mode.

Your app will restart in the emulator, but this time it will suspend when it reaches the breakpoint you set.

You can then step through the code in Eclipse's Debug Perspective, just as you would for any other application.

hello_world_9.png

Fedora 12 Released

Adam Will writes :

The Fedora project has announced the release of Fedora 12 Beta, which is available here. This will be the final pre-release before the final release in November. New features of Fedora 12 highlighted in the announcement include substantial improvements and fixes to the major graphics drivers, including experimental 3D acceleration support for AMD Radeon r600+-based adapters; improved mobile broadband support and new Bluetooth PAN tethering support in NetworkManager; improved performance in the 32-bit releases; significant fixes and improvements to audio support, including easy Bluetooth audio support; initial implementation of completely open source Broadcom wireless networking via the openfwwf project; significant improvements to the Fedora virtualization stack; and easy access to the Moblin desktop environment and a preview of the new GNOME Shell interface for GNOME. Further details on the major new features of Fedora 12 can be found in the release announcement and feature list. Known issues are documented in the common bugs page.

Command Line copy & paste

xclip is a command line interface for X11, based on the system of pipes. i nice and easy, works like a charm

to copy the full output of a directory in a the clipboard

$>ls -la | xclip

to copy the full content of a file

$>xclip /etc/shadow

to output the content

$>xclip -o

to output the content in a file

$xclip -o > ~/myfile

Linux Kernel Update 2.6.31

Linux 2.6.31 kernel released on 9 September, 2009

Among all the changes, a few changes deserve to be noticed here :

USB 3 support

Thanks to Intel, Linux now support USB 3 and xHCI.
No xHCI hardware hit the mass market yet.
Linux is still a step ahead !

CUSE

The awaited extension of the famous FUSE.
With this new "virtual device" File system,
we will be able to link application in different layers,
a good example case i read on the net would be
to "proxying" OSS audio from OSS apps through the ALSA userspace layer.

ATI kernel mode

For those having problem with your old ATI GPU,
this new release should fix quite a lot of freeze in X.

Better memomy management under pressure.

Benchmark showed a drop of 50% of memory major Fault
when using a graphical desktop !

http://kernel.org/