May 16th, 2016
LLDB Cheat Sheet
Since I like to have fancy cheat sheets, I created one from the GDB to LLDB Command Map.
C++ related stuff
May 16th, 2016
Since I like to have fancy cheat sheets, I created one from the GDB to LLDB Command Map.
Aug 5th, 2015
Just like in my previous post I need to jot down some useful commands for Lldb because I need to look them up so often. It contains standard breakpoint handling and running - just the very simple basics I should never forget. Note that this document will grow over time, hopefully.
First of all, do not forget to prepend xcrun to lldb, that makes it much more useable:
Feb 2nd, 2015
Since I happen to forget this every once in a while and end up in trying to debug in the command line but no symbols and no source is found, I drop a message for my future me:
Aug 31st, 2013
Today I installed clang_complete using Pathogen (i. e., I installed it as a submodule of my dotfiles git repository aka nesono-bin.
I tried to be smart and went into the submodule’s directory and invoked make install
.
That nicely built the vimball and installed itself - but whenever I tried to open a cpp
-file I got the following error:
Aug 8th, 2012
What a bad surprise, trying to build the Makefile-based project and got the response: make not found
!
Lucky for us, it has just moved into the XCode package - the logical place according to Apple’s rules, though not automatically in the PATH
environment variable :/
Jul 1st, 2012
Some time ago, I wanted to x-out all constant C-strings (characters within "
) in a C-file and wondered how to do that with Vim.
E. g. when you want to cross out every character of a Hello World
String like this:
Sep 20th, 2010
Since ever, I was searching for a solution for nice C++-aware code navigation for vim. The solution described here is based on
Just install the omnicppcomplete plugin in vim and call ctags.
Jun 9th, 2010
Today I wanted to get all macro definitions from gcc - including those defined internally. I knew it some tim ago, but forgot the command again, so I paste it in here for all of you.
gcc -dM -E - < /dev/null | sort
That’s it and cheers,
iss
Oct 7th, 2009
Yesterday I stumbled over a problem using XCode 3. I was caused by a library, which was based on plain Makefiles. I tried to use this library in my XCode project, but anyhow, I always got the same error while linking.
Jul 27th, 2009
Yesterday I found a site called The Bit Twiddler while searching for an algorithm to calculate the bit population of an int
in C
. To me, it was quite like breaking a butterfly on the wheel, but it was very interesting and good to know for everybody who needs to twiddle with bits… But check it out yourself!
Cheers, iss.