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:


15 comments:

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

    ReplyDelete
  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.

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

    ReplyDelete
  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?

    ReplyDelete
  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.

    ReplyDelete
  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.

    ReplyDelete
  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.

    ReplyDelete
  8. Nice information, i hope you keep writing.

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

    ReplyDelete
  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

    ReplyDelete
  11. JBN CREATORS is Ecommerce Website Development company in DELHI. We have more than 5 years of experience serving outsourcing web development services. Provide you service in affordable price at right time. Feel Free contact us 8802969543 , 9650829282 .
    Ecommerce Website Development

    ReplyDelete
  12. It is very nice information about the digital marketing.Thanks for sharing with us. Web Developers in Bangalore | Website Developers in Bangalore | Web Designers in Bangalore Bangalore

    ReplyDelete
  13. Very Helpful Information, Thanks for sharing this post.

    ReplyDelete