Debug Library
Geliştiriciler için devasa bir hata çözüm bankası. Hem İngilizce hem Türkçe rehberlerle kodunu temizle.
Invalid syntax
The script has code that doesn't follow the language rules.
Eksik parantez, tırnak veya hatalı anahtar kelime kullanımını bulun.
Memory access violation
Occurs when a program attempts to access a memory location that it's not allowed to access.
Dizilerde sınır dışı erişimleri ve geçersiz pointer kullanımlarını kontrol edin.
Argument conversion error
Argument cannot convert from type A to type B.
Doğru veri türünü gönderdiğinizden emin olun veya açık bir döküm (cast) yapın.
; expected
A semicolon is missing at the end of the line.
// Satır sonuna ; ekleyin
int x = 10;
Type or namespace not found
The type or namespace name 'X' could not be found.
using ifadesini ekleyin veya NuGet referanslarını kontrol edin.
Name does not exist
The name 'x' does not exist in the current context.
Değişkeni tanımladığınızdan veya doğru kapsamda (scope) olduğunuzdan emin olun.
Argument cannot be null
Thrown when a null reference is passed to a method that does not accept it as a valid argument.
Methodu çağırmadan önce parametrenin doluluğunu kontrol edin.
Divide by zero
Attempting to divide an integral or fractional value by zero.
if (divisor != 0) { return dividend / divisor; }
Stack overflow
The execution stack overflows, usually due to infinite recursion.
Recursive fonksiyonlarda çıkış şartını (base case) kontrol edin.
Index out of bounds
Attempting to access an index that is outside the bounds of the array.
for(int i=0; i < array.Length; i++) { /* güvenli */ }
Object reference not set
Occurs when you try to access a member on a type whose value is null.
if (myObj != null) { /* erişim yap */ }
Too Many Requests
The user has sent too many requests in a given amount of time.
İstek aralıklarını açın veya Rate Limit politikalarınızı kontrol edin.
I'm a teapot
The HTTP 418 I'm a teapot client error response code indicates that the server refuses to brew coffee because it is, permanently, a teapot.
Çay içmeyi deneyin.
Gateway Timeout
The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server.
Zaman aşımı (timeout) sürelerini artırın veya arka uç servisinin yanıt süresini optimize edin.
Service Unavailable
The server is currently unable to handle the request due to a temporary overload or scheduled maintenance.
Daha sonra tekrar deneyin veya sunucu kaynaklarını (CPU/RAM) kontrol edin.
Bad Gateway
The server, while acting as a gateway or proxy, received an invalid response from an upstream server.
Network bağlantılarını ve proxy ayarlarını kontrol edin.
Bad Request
The server cannot process the request due to something that is perceived to be a client error.
Gönderilen parametrelerin formatını ve API dokümantasyonunu kontrol edin.
Unauthorized
The request requires user authentication.
Login olduğunuzdan veya geçerli bir API anahtarı (Token) kullandığınızdan emin olun.
Forbidden
The server understands the request but refuses to authorize it.
Kullanıcı yetkilerini veya dosya izinlerini kontrol edin.
Internal Server Error
The server encountered an unexpected condition that prevented it from fulfilling the request.
Sunucu loglarını (günlüklerini) kontrol ederek hatanın kaynağını (syntax, database vb.) bulun.
Not Found
The server cannot find the requested resource.
URL'i kontrol edin veya sayfanın sunucuda var olduğundan emin olun.
Object reference not set to an instance of an object
Occurs when you try to access a member (method, property, etc.) of an object that is currently null.
if (myObj != null) { myObj.DoSomething(); }
// veya Null-conditional operator:
myObj?.DoSomething();
The type 'X' already defines a member called 'Y' with the same parameter types
Occurs when you have two methods or properties with the exact same name and signature in the same class.
// Bir metodun ismini değiştirin veya parametre imzalarını farklılaştırın.
void MyMethod(int x) { }
void MyMethod(string s) { }