Posts Tagged ‘Tools’

Install the Insight Debugger on Linux Mint (works for Ubuntu too)

Insight is a very good debugger based on gdb. I prefer it over ddd or kdbg as I find it clearer and easier to use. Moreover, this debugger is also the one used in the book Assembly language Step by Step, for Linux. However, Insight has been removed from Debian packages already more than a year ago.
But, thanks to SevenMachines, a PPA repository …

Google+ is now open to all

After about 90 days of trial on invitation-only mode, Google+ is now open to everybody.
For those who don’t know, Google+ is the social network platform of Google, with several interesting features like Circles, Hangouts, …
For example, you can see my page on Google+.
Personally, I find this social network very interesting, but there are not enough people on it to concurrence really Facebook …

How to profile C++ application with Callgrind / KCacheGrind

I have shown before how to profile a C++ application using the Linux perf tools.  In this post, we will see how to profile the same kind of application using Callgrind. Callgrind is a tool in part of the Valgrind toolchain. It is running in Valgrind framework. The principle is not the same. When you use Callgrind to profile an application, your application is transformed in …

How to compute metrics of C++ project using CCCC

CCCC (C and C++ Code Counter) is a little command-line tool that generates metrics from the source code of a C or C++ project. The output of the tool is a simple HTML website with information about all your sources.
CCCC generates not only information about the number of lines of codes for each of your modules, but also complexity metrics like the McCabe Cyclomatic …

How to profile your applications using the Linux perf tools

When an application encounters some performance issues, we have to find the code that causes the problem to optimize only what really matters.
To find the code we have to optimize, the profilers are really useful. In this post, we’ll use the Linux perf tools to profile a simple C++ application.
The perf tools are integrated in the Linux kernel since the 2.6 version. …

IntelliJ Idea 10 Early Acces Program is here

Today, the Early Access Program (EAP) has been opened for IntelliJ Idea 10.
There is a lot of changes, here are some of them (the most interesting in my point of view) :

Faster indexing speed
Java – Faster method usage search
Spring Web Services support
Spring testing support
New Spring live templates (patterns and frameworks)
intelligent resources support (smart completion and warnings for resource types)
Maven Refactorings
Maven pom.xml editor new features
Maven …

Discover Java VisualVM 1.3

2 days ago, Java VisualVM 1.3 has been released. We’ll see what’s new with this release.
At this time, there is no package for Ubuntu, so we’ll install it manually :
wget https://visualvm.dev.java.net/files/documents/7163/151728/visualvm_13.zip
unzip visualvm_13.zip
And then we can directly launch it :
cd visualvm_13/bin
sh visualvm
You’ll be asked for the license agreement and after that the tool is launched :
VisualVM 1.3 Startup

Tip : Optimize images on Ubuntu Linux

When working with a lot of images by example for galleries on a website, it could be really interesting to optimize the images to save a lot of space and directly improve the performances of the website and save some traffic if this is limited by your hosting.
Optimize JPEG images with jpegoptim
A great tool to optimize JPEG images is jpegoptim. It’s a simple …

IntelliJ Idea 9.0.3 is here !

A new version of IntelliJ Idea is available : IntelliJ Idea 9.0.3

A new UI for merging Subversion branches
A new tool to store encrypted passwords for VCS, proxy server etc.
A lot of bugfixes, more than 350
The HTML editor comes with initial support for HTML 5
The Flex debugger has been improved a lot
This version supports now Grails 1.3.x
Several little performance improvements in specific part (XHTML editing by …

Tip : Profile an OSGi application with VisualVM

When you develop applications and you’ve performance problems, it’s really interesting to see what can cause this problems. And it that case, the profilers are the most useful tool. By example, we can use VisualVM, packed by default with the Java Virtual Machine. For more information, you can read this introduction to Java VisualVM.
But, when you work with OSGi application, it’s not as …