17 May 2017

Debugging Stories: Problems Logging in

I came across an interesting Debugging Story about login credentials that only worked when the user was seated. Whenever they attempted to login while standing, their credentials failed. Until one wise debugger asked the right question. Read the story here, in this book excerpt from Programming Perls by Jon Louis Bentley.

It reminded me of one of my own stories: the new user whose initial password refused to work.

I was part of a small team making a web portal for a medical insurance company. It would let medical practitioners submit predetermination-of-benefits requests before the proposed procedure was performed. We created a first roll-out to three partner offices, with a minimal set of useful features. We called it our Beta release.

Two of the offices began using the system right away. The third could not log in.


9 May 2017

Eclipse Keyboard Shortcuts - Neon (4.6)

I created this page as a personal quick-reference lookup. It will therefore not worry about completeness (try here if you want a more complete list). My personal list will also be in a least-to-most-common use sequence. After all, the ones I use all the time I already remember. It's for the more occasional ones that I want a quick reference.

Hierarchy
  • Ctrl + Alt + H Open Call Hierarchy
  • Ctrl + T Quick Hierarchy
  • F4 Show Type Hierarchy

Switch View to...
  • Shift + Alt + Q then C Console
  • Shift + Alt + Q then Z History
  • Shift + Alt + Q then O Outline
  • Shift + Alt + Q then S Search
  • Shift + Alt + Q then Y Synchronize
  • Shift + Alt + Q then T Type Hierarchy
Java Comments

  • Ctrl + / Toggle Comments
  • Ctrl + 7 Toggle Comments
  • Shift + Ctrl + C Toggle Comments
  • Shift + Ctrl + / Add Block Comments
  • Shift + Ctrl + \ Remove Block Comments

Run / Debug

  • Run Java Application
  • Run JUnit Test
  • Debug Java Application
  • Debug JUnit Test
  • Step into method
  • Step over instruction
  • Step and return
  • Resume execution
  • Inspect