Datakent Ana Sayfa
Anasayfa Anasayfa > Diğer bölümler > C# & ASP.NET
  Aktif Konular Aktif Konular RSS: C# DEBUG  SOS.DLL
  Yardım Yardım  Hızlı Ara   Kayıt Ol Kayıt Ol  Giriş Giriş

C# DEBUG SOS.DLL

 Yanıt Yaz Yanıt Yaz
Yazar
Mesaj
murat turan Açılır Menü Göster
Admin Group
Admin Group
Simge
Datakent

Kayıt Tarihi: 01.Ekim.2003
Bulundugu Yer: Turkey
Online: Sitede Değil
Gönderilenler: 1798
  Alıntı murat turan Alıntı  Yanıt YazCevapla Mesajın Direkt Linki Konu: C# DEBUG SOS.DLL
    Gönderim Zamanı: 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.


Yukarı Dön
 Yanıt Yaz Yanıt Yaz

Forum Atla Forum İzinleri Açılır Menü Göster



Bu Sayfa 0,223 Saniyede Yüklendi. [power by : WebWiz]