Sayfayı Yazdır | Pencereyi Kapat

C# DEBUG SOS.DLL

Nereden Yazdırıldığı: Datakent
Kategori: Diğer bölümler
Forum Adı: C# & ASP.NET
Forum Tanımlaması: C# ve ASP.NET ile ilgili soru / sorun ve paylaşım bölümü
URL: http://forum.datakent.com/forum_posts.asp?TID=2783
Tarih: 02.Eylül.2025 Saat 08:43


Konu: C# DEBUG SOS.DLL
Mesajı Yazan: murat turan
Konu: C# DEBUG SOS.DLL
Mesaj Tarihi: 19.Nisan.2015 Saat 10:15
http://msdn.microsoft.com/en-us/library/bb190764(v=vs.110).aspx

sos DLL!yi yüklemeden uygulamaya bir breakpoint koyun ve uygulamayı başlatın

.load sos ENTER

SOS.dll yüklenecektir

komutlar Immediate Window'a yazılıyor

örnek komut

!dumpheap -stat
veya
!eeheap -gc  gibi...

!dumpheap -min 50000   ex:50Bin byte'dan büyük objeleri listeliyor

!FinalizeQueue -short or -detail  ex:Displays all objects registered for finalization.

!GCHandles    ex:Displays statistics about garbage collector handles in the process.

!GCHandleLeaks    ex:Searches memory for any references to strong and 
pinned garbage collector handles in the process and displays the result
 
!objsize   parametre olarak objecr adress verilebilir aksi durumda tumunu listeler -stat ile detay alınabilir

!procinfo

!threadpool  ex:Displays information about the managed thread pool, 
including the number of work requests in the queue, 
the number of completion port threads, and the number of timers.
!Threads [-live] [-special]

!DumpDomain     ex:You can get an assembly address by using the DumpDomain command.

!DumpAssembly asmAdress


!DumpStackObjects ex:You can use the DumpStackObjects command to retrieve an object's address.

!dumpobj 02cd9b08  ex: "!DumpStackObjects"  listesindeki "Object" sütunundaki veri alınıyor (2.sütun)
The [-nofields] option prevents fields of the object being displayed,
it is useful for objects like String.




-------------
http://www.kasatakip.com - Kasa Takip  |  http://www.caritakip.com - Cari Takip  |  http://www.evraktakip.com - Evrak Takip  |  http://www.etasqlmobil.com - ETA SQL Mobil



Sayfayı Yazdır | Pencereyi Kapat