technochakra.com

Wheels Of Technology

strace Those Crashes On Linux

strace is a great tool on Linux that every developer should be aware of.  It helps trace system APIs - the APIs used, parameters passed and the error value returned.   It does not require root permissions to run.  You can generate a system call trace on a command that [...] Continue Reading…

Temporary Breakpoint - Now You See It, Now You Don’t

Have you faced the problem of breakpoint clutter where breakpoints keep piling up only to hinder the debugging session?  It is then that one realizes that there are some breakpoints that can be deleted and others disabled. 

A useful feature in a debugger is a temporary breakpoint that automagically gets deleted when hit thereby reducing the [...] Continue Reading…

GDB - Debugging In Assembly

If you haven’t debugged in assembly yet, you haven’t debugged enough :-)  Debugging assembly in gdb can be tricky at times.

A normal debugging session involving assembly language consists of the following steps -

Launch the program in gdb and set the required breakpoint(s).
When the breakpoint is hit, use the disassemble [...] Continue Reading…

Aliases In Visual Studio’s Command Window

One trick I picked up from fellow developers was to open a file real quick in Visual Studio.  The trick was to go to the Command Window and type open <filename>.  This is a great productivity tip as you don’t have to search the file through the Solution Explorer.  And if you miss the [...] Continue Reading…

Debugging - Divide And Conquer The Input Data

The rule of debugging is very simple -

“Every developer should strive to reproduce the bug by hitting the required set of breakpoints the least number of times. This allows faster and efficient debugging sessions.” [...] Continue Reading…

Debugging - Using Breakpoint Hit Count For Fun And Profit.

If you are familiar with hit count breakpoints already, you may want to click here to jump to the advanced tricks shared in this article.
What is the hit count of a breakpoint?
A debugger allows users to set a breakpoint at a specific line in code.  When the execution reaches [...] Continue Reading…

Web Hosting - Blogging 101 : Signing Up With A Web Host.

Choosing a web host is like buying any other product online.  One has a lot of choice and good competition owning to the declining hardware costs.

A web host is a server that will physically host your web site for everyone to access.  A web host is usually chosen on [...] Continue Reading…

Web Hosting - Blogging 101 : Who Said Registering Your Domain Name Was Easy?

The first step while setting up a site is getting a domain name.

I think that the primary reason for not starting your web site is trying to get that name right.  And finally when you have it all figured, you realize that the name is already taken :-)  And [...] Continue Reading…

Web Hosting - Blogging 101 : Top 5 Lessons Learnt.

Getting started with web hosting is not always easy.

If you are the kind who likes to do the research before taking the plunge, the amount of information on this topic can be very overwhelming. This is true especially if this is your first time trying to setup something on [...] Continue Reading…

*Hello World*

This has to the first post.

  
  • Categories

  • Sponsors