interrupt handeling

my code shows watchdog timer reset with following code when i pressed a button.

#include <ESP8266WiFi.h>
#include <IRremoteESP8266.h>
#include <IRsend.h>
#include <FirebaseArduino.h>

const int hexValue[] = {0x10,0x810,0x410,0xC10,0x210,0x83E0B54,0x610,0xCB182DD8,0xCDF59634};
int current_channel ;

#define IR_LED 4 // ESP8266 GPIO pin to use. Recommended: 4 (D2).

IRsend irsend(IR_LED); // Set the GPIO to be used to sending the message.
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(14,INPUT_PULLUP);
pinMode(5,INPUT_PULLUP);
pinMode(2,INPUT_PULLUP);
pinMode(0,INPUT_PULLUP);
pinMode(15,OUTPUT);
attachInterrupt(5,button1,RISING);
attachInterrupt(14,button2,RISING);
attachInterrupt(0,button3,RISING);
attachInterrupt(2,button4,RISING);
// put your setup code here, to run once:
WiFi.begin(ssid,password);
while(WiFi.status()!= WL_CONNECTED){
delay(500);
Serial.print(".");
}

Serial.print("\n");
Serial.print("connected\n");
Firebase.begin(firebaseURI, authCode);
delay(100);

}

void loop() {
String path = "ice-remote-pro/user1";
FirebaseObject object= Firebase.get(path);
delay(100);
// put your main code here, to run repeatedly:
//Serial.println("remote begin");
// Serial.println(current_channel);
Firebase.setInt("user1/current_channel",current_channel);
delay(100);
//int channel = Firebase.getInt("user1/current_channel");
delay(100);
// Serial.printf("fi %d\n",channel);

}

void button1(){
current_channel=1;
//Serial.print("current_channel is" );
//Serial.println(current_channel);
/irsend.sendSony(hexValue[0],12,2);
yield();
/
irsend123();

}

void button2(){
current_channel=2;
//Serial.print("current_channel is" );
//Serial.println(current_channel);
/irsend.sendSony(hexValue[1],12,2);
yield();
/
irsend123();

}

void button3(){
current_channel=3;
//Serial.print("current_channel is" );
//Serial.println(current_channel);
irsend123();
/irsend.sendSony(hexValue[2],12,2);
yield();
/

}

void button4(){
current_channel=4;
//Serial.print("current_channel is");
//Serial.println(current_channel);
/irsend.sendSony(hexValue[3],12,2);
yield();
/
irsend123();

}

void irsend123(){
irsend.sendSony(hexValue[current_channel-1], 12, 2);
}

can any one help me.

SulhiCader:
can any one help me.

What is the question?

Oh, and by the way:

const int hexValue[] = {0x10,0x810,0x410,0xC10,0x210,0x83E0B54,0x610,0xCB182DD8,0xCDF59634};

This defines elements of 32 bits but uses 16 bit integers. Perhaps "int" is intended to be "long"?

There may be other errors as well.

To make it easy for people to help you please modify your post and use the code button </> so your code looks like this and is easy to copy to a text editor. See How to use the Forum

Also use the AutoFormat tool to indent your code for easier reading.

...R