Saturday, February 20, 2010

Using KDevelop for debugging only

As you might know, KDevelop has an integrated gdb debugger. But it a bit difficult to set up the launch configuration, especially when not using KDevelop for coding.
There is now an easy way to run the kdevelop debugger only:
kdevelop --debug gdb executable --args-to-executable

When running that command kdevelop starts, runs the executable and breaks in main. You then can do the usual debugging.

Another thing I implemented is a resizable variable tooltip, with that you can look even at vallules like this one:


  1. Cool. Any chances for attaching to existing process by name or PID?

  2. kdevelop --debug gdb ./sieve --args-to-executable my_file

    kdevelop: Unknown option 'debug'.
    kdevelop: Use --help to get a list of available command line options.

    Am I missing something. I have latest beta Kdevelop 4.

  3. You need tp use the latest SVN head (post latest beta)

  4. @jstaniek:
    That is pretty easy in KDevelop, without having to create launch configurations.
    (See Run menu)

    Would you see a use case where this is not enough?

  5. This is pretty good tool i guess, need to try this out, debugging is very important in any project development, we should debug the errors and fix it, where ever necessary.

  6. This really is certainly Awesome expertise having writing and many
    erectile dysfunction treatment due to yahoo search engine choose up me on here. I cherished studying your content material and added to the book marks. The recommendations you used to position up was clearly understandable. My husband additionally appreciated after studying this post. Let me go through for more earlier.

  7. I really enjoyed this site. This is such a Great resource that you are providing and you give it away for free. It gives in depth information. Thanks for this valuable information.

  8. Nice information, i hope you keep writing.

  9. It’s amazing in support of me to truly have a blog site, which will be valuable meant for my knowledge. Thanks website builder

  10. JBN Creators is dedicated to provide all-in-one eCommerce websites for your store. Here we are ready to provide you optimum support in terms of improving your business and expanding the horizon. We invite you to make use of our optimum resources so as to meet the business goal at the earliest.
    WebSITE Designing