dot memory dump import doesn't load call stack

Hi 

I can't get  call statck info for dot memory  import dump feature

no allocation info was collected during profiling error is coming 

What is the reason for the error , under what condition we will get call stack

 

Thanks in Advance 

 

0
5 comments

Hi,

Call stack data collecting are available only if you start application under profiler. If you want to collect call stacks and traffic data you need to enable "Start collecting allocation data immediately" flag in profiling options or use "Collect Allocations" button to enable it during profiling session.

Call stack and memory traffic data is not available for already running applications.Thus, you can't get them for process dump or if you attach profiler to already running process.

About mentioned profiling error: could you please describe in details what error occurs?

0
Avatar
Permanently deleted user

Thanks
What I understood is that Memory analyzer can't be used for finding the stack trace causing the crash and different thread info which is available in tools like WinDbg
Also Creation stack trace is possible for an allocated memory only if some options are enabled from the beginning
is there an option to collect the memory allocation information.
is it possible to set environment variable like COR_PRF_ENABLE_OBJECT_ALLOCATED and get the call stack from a machine where memory analyzer is not available.

0

We can get information about call stacks for the threads from process dump but this feature is not implemented yet: https://youtrack.jetbrains.com/issue/DMRY-5640

Thus, we plan to implement it for snapshots taken in dotMemory: https://youtrack.jetbrains.com/issue/DMRY-4021

 

0
Avatar
Permanently deleted user

Tnx , it is great
hope variable values also will be shown

0

> variable values

Did you mean field values?

If you meant this, they are already presented for the object instance:

0

Please sign in to leave a comment.