Probelm in nema motor stepper

hey everyone can you help me to solve this problem causes my esp8266 with nema motor stepeer got stack like this.

#include <Stepper.h>
// change this to fit the number of steps per revolution
int stepsPerRevolution = 500;

//Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11);
Stepper myStepper(stepsPerRevolution, 14, 12, 13, 15);

long int stepCount = 0; // number of steps the motor has taken
int dirStep = 1;
void setup() {
Serial.begin(9600);
}
void loop() {
// myStepper.step(dirStep);
// stepCount = 0;
while (stepCount < 500) {
myStepper.step(dirStep);
stepCount++;
delayMicroseconds(50);
Serial.print("steps:");
Serial.println(stepCount);
}

}

this is my program for motor stepper and below is result when im upload this program get wdt reset

steps:300
steps
Soft WDT reset

stack>>>

ctx: cont
sp: 3ffffd90 end: 3fffffc0 offset: 01b0
3fffff40: 000001f3 00000003 3ffee324 3ffee394
3fffff50: 000001f3 3ffee324 3ffee324 40202904
3fffff60: 3ffe8567 00000000 0000000f 40202ac5
3fffff70: 3ffe8560 00000001 3ffee2ac 40202680
3fffff80: 4010017c 3ffee2a8 3ffee2a8 40202ad8
3fffff90: 000001f3 3ffee324 3ffee2a8 402024c1
3fffffa0: 3fffdad0 00000000 3ffee364 4020306c
3fffffb0: feefeffe feefeffe 3ffe84fc 40100279
<<<stack<<<
H!)βΈ®

i dont what happer cant everbody help my probelm thanks

What stepper motor driver are you using?

And what stepper and stepper power supply?

This seems strange

int stepsPerRevolution = 500;

Stepper motors usually have 200 steps per revolution and some have 400. Using microstepping the numbers generally increase in multiples of 2.

...R
Stepper Motor Basics
Simple Stepper Code