Sunday, June 20, 2010

IntelliJ IDEA – Debugging

[pro-player type="mp4"]http://j0hn.org/videos//intellij-debugging.mp4[/pro-player]

*update - @nicity pointed out on twitter that I missed the "Smart Step Into" feature that allows you, if you have multiple function calls on the same line, to select which function you will step into while debugging.

14 comments:

  1. Karl Macklin3:37 AM

    Cool!
    This really turns into a form of sub-programming, setting conditions and dependencies and whatnot.

    If you just run the app (as in not debug), all the breakpoints don't matter anymore I assume? That then would be another way of setting debug variables via a non-suspending breakpoint that evaluates an expression.

    Looking forward to more videos!

    ReplyDelete
  2. nicity4:21 AM

    Could please use IDEA 9.0.2 (or upcoming 9.0.3) for demos :)

    ReplyDelete
  3. Great stuff! I never use the debugging perspective that much (mostly traces etc), but this is really enlightening! I wonder how this compares to FDT...

    ReplyDelete
  4. johnlindquist9:41 AM

    I've been using the latest EAP builds. I'm pretty sure that was using the 9.0.3 RC (I can check later back at home).

    ReplyDelete
  5. johnlindquist9:45 AM

    I'll do a follow-up on FDT debugging soon. IntelliJ definitely has more debugging features (but, of course, there's things like the FDT profiler that IntelliJ doesn't have (yet...)).

    ReplyDelete
  6. nicity7:34 AM

    You using IDEA version 95.4 in the video but IDEA 9.0.2 version is 95.66 and latest IDEA 9.0.3 EAP version is 95.260

    ReplyDelete
  7. johnlindquist7:44 AM

    Yup, just noticed that. I don't see any new debugging features in 95.260, so the video should still be pretty comprehensive.

    ReplyDelete
  8. I really like this series that you're doing. I've reached a point where I'm using Sourcemate with Flash Builder but it still feels like it's not as fluid as FDT or (apparently) IntelliJ. Please keep it up! IntelliJ is a whole new ball of wax for me and these crash courses are invaluable :D

    ReplyDelete
  9. nicity2:19 PM

    Yes, it is, my recommendation is more concerned with performance and stability fixes for developing with pleasure :)

    ReplyDelete
  10. Hi John,
    When I tried to add library as3 source folder (say BulkLoader), it shows in the tree view of the project with src folder. But when I compiled, it didn't detect the files in the library folder and throws compiler error.
    Thanks,
    particles

    ReplyDelete
  11. Really good work because i have seen first time this article. But now i am going to share with my friends.

    ReplyDelete
  12. John please could you re-link the video thanks, ex-eclipse dev!

    ReplyDelete
  13. John please could you re-link the video thanks, ex-eclipse dev!

    ReplyDelete
  14. John please could you re-link the video thanks, ex-eclipse dev!

    ReplyDelete