Arduinio IDE 1.5.2 getting Hanged.....

hi guys i am using Arduino Leonardo board
when i am trying to print the messages to Serial Monitor which were written in loop() , after downloading code to the board, i opened Serial Monitor initially some messages got printed and later the Whole IDE got hanged up...

this is my code

void setup() {
Serial.println(9600);
// put your setup code here, to run once:

}

void loop() {
Serial.println(" i am in loop");
// put your main code here, to run repeatedly:

}

I assume this is a typo, and you mean Serial.begin(9600);?

Serial.println(9600);

pradeepsalloju:
void loop() {
Serial.println(" i am in loop");
// put your main code here, to run repeatedly:

}

You need to add a delay. The Arduino is sending data so quickly the Serial Monitor is swamped

void loop() {
  Serial.println(" i am in loop");
  delay(1000);
  // put your main code here, to run repeatedly:

}

...R