update DebugActivity to ActionBarActivity
update DebugActivity to ActionBarActivity
fix index out of range bug