Questions tagged [sos]

SOS is a debugger extension that allows a developer to inspect the managed state of a .NET Core and desktop runtime process. SOS can be loaded by WinDbg/cdb debuggers on Windows and lldb on Linux and macOS.

SOS (Son of Strike) is a debugger extension that allows a developer to inspect the managed state of a .NET Core and desktop runtime process. SOS can be loaded by WinDbg/cdb debuggers on Windows and lldb on Linux and macOS.

Useful links:

344 questions
0
votes
0 answers

Method table layout in clr 4.0

I have tow classes Class1 and Program a shown below: class Class1 { public void xx() { } } class Program : Class1 { static void Main(string[] args) { } } But when i see the method table i not see the…
yuthub
  • 67
  • 6
0
votes
1 answer

SOS debugger in VS 2010 for Silverlight 4, enable unmanaged debugging

if I issue .load SOS while debugging in VS 2010 I get "SOS not available while Managed only debugging. To load SOS, enable unmanaged debugging in your project properties." I accept that I need to enable this in project settings...but....where is…
Ron Weston
  • 280
  • 2
  • 16
0
votes
2 answers

fbDidLogin or fbDidNotLogin not called

I am trying to integrate facebook login in my existing app. I have the openURL and handleOpenURL methods in AppDelegate.m, but i initialize facebook object in one of the view Controller on click of a button. so my fbDidLogin method is in the…
user1074737
  • 11
  • 1
  • 3
0
votes
2 answers

What is ".load" in .load sos?

In Visual Studio I use .load sos in the Immediate Window to load sos.dll. What is this '.load'? Is there some description for it? In the Immediate Window I Can: Evaluate an expression (? varA), execute program command (varA=1) or execute VS commad…
IvanH
  • 5,039
  • 14
  • 60
  • 81
0
votes
1 answer

How can i find out the respective values of 'object' and 'method' ,they are arguments of the constructor System.MulticastDelegate?

I decompiled the delegate using .Net Reflector.i find it inherit from System.MulticastDelegate .And the constructor of System.MulticastDelegate has two arguments that are 'object' and 'method'.But using sos.dll,how can i get the specific value of…
Szjdw
  • 1
  • 1
0
votes
1 answer

The VT is 0,but !dumpobj
doesn.t work.I am a newer in using Visual Studio 2010+sos.dll.Who can help me?

!dumpvc 79b9a9ac a0a208 Name: System.IntPtr MethodTable: 79b9a9ac EEClass: 798d57e0 Size: 12(0xc) bytes File: C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll Fields: MT …
Szjdw
  • 1
  • 1
-1
votes
1 answer

Calculator operators not working in calculator (JavaScript - beginner level)

I am a beginner in JavaScript, so to enhance my skills, I am trying to build a calculator. However, I have been trying to figure out for many hours how to make the operator buttons work (more specifically the plus and equal button) but I just can't…
Arman
  • 1
  • 2
-1
votes
1 answer

How to make a call when click on button in Android studio?

I'm working on a project in which I have created a button.I want to add a feature that if I clicked on that button then it will automatically make a call to police number (100). I have written the code for the same, and when I clicked on that button…
-1
votes
1 answer

How to use SOS2 on IBM ILOG CPLEX Optimization Studio

Please help me. I am using the IBM ILOG CPLEX Optimization Studio to solve my problem which is some variables in my model are type SOS2. I don't know, how to use SOS2 on IBM ILOG CPLEX.
-1
votes
1 answer

The result of !dumpheap is wrong

I run the command "!dumpheap -min 62 -max 64 " and found the following result, and we found the Count of string is 43,149,740 , however the total size of them is just 5,146,310 bytes, so the total size is wrong , right? Statistics: …
Jason
  • 1,115
  • 14
  • 25
-1
votes
1 answer

!clrstack never reports anything

I know I am dealing with a managed thread but I have never managed to get !clrstack to work. I always get: 0:000> !clrstack OS Thread Id: 0xaabb (0) Child SP IP Call Site GetFrameContext failed: 1 00000000 00000000 Admittedly I could use…
ForeverLearning
  • 6,352
  • 3
  • 27
  • 33
-2
votes
1 answer

What could cause an access violation from mscorwks!ThreadpoolMgr::FireTimers?

The following access violation is crashing my application every few days. What could be causing this? (80c.f28): Access violation - code c0000005 (first/second chance not available) eax=d628f91d ebx=29d706e3 ecx=29d706e3 edx=0bd2feb8 esi=00000000…
Sean
  • 1,373
  • 2
  • 14
  • 26
-3
votes
1 answer

Android app to app communication

I want to create an android SOS app which will send location and a message of a person (who presses the button) to everyone else who is using the app. Please guide me the simple way to make this app with proper requirement.
-3
votes
2 answers

File Writing Python, How to print variable to txt file

I am trying to print a variable of a score and name to a .txt file using python. import random import csv import operator import datetime now = datetime.datetime.now() ## gets the exact time of when the user begins the test. def main(): …
Rasnaamt
  • 21
  • 1
  • 1
  • 4
1 2 3
22
23