function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
riz wanriz wan 

Why Developer Console is taking very long time to save simple apex class?

User-added image
It takes long time to save this simple apex page. So long that i lost patience and closed the browser.
I have tried a few times but saw the status changing to "Saved" .
When i forcibly close the console window all changes are lost.
Tried it on latest Firefox and Chrome browsers with same result.

 
riz wanriz wan
but NEVER saw the status.....
SaranshSaransh
Better use Eclipse
mritzmritz
@Saransh
How to fix it in Console?
Ajay K DubediAjay K Dubedi
Hi Riz,

I have seen this issue before as well. It's pretty common actually. The only way to avoid it 
You can click on progress button in the developer console and here you can see a list of deployments,
Now after click Cancel All Deployments button which are given below in developer console you can save your code normally.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks,
Ajay Dubedi
riz wanriz wan
Can't seem to find progress button in Developer Console. Please help me locate it.
Fidel Lopez 14Fidel Lopez 14
For Riz and anyone else who can't find it. In the dev console look for this: 
User-added image
Santaji Suryawanshi 1Santaji Suryawanshi 1
Even today I observe this issue in the developer console, To resolve indefinite waiting time follow the steps-
In Developer Console - On the bottom panel Click on "Progress" -> "Cancel All Deployments", retry saving APEX class.