Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
1 answer
160 views

How to read name of anonymous lambdas in Visual Studio call stack?

It's always been challenging to me to track anonymous lambdas in the call stack, so I wrote some sandbox code in order to deal with the issue: int main() { [] { std::cout << "Hello ...
Kaiyakha's user avatar
  • 1,793
0 votes
0 answers
102 views

Visual Studio C/C++ : Access to call stack from the code

Is there a way to access to call stack content from the code ? There are many introspection functions in <crtdbg.h> but none about call stack. (at least, I didn't find any) I need some (MSVC-non-...
Captain'Flam's user avatar
1 vote
1 answer
4k views

Example of getting C++ call stack on Windows

Can someone give an example of how to get programmatically the call stack of the currently running C++ program on Windows? From some threads (e.g. print call stack in C or C++ ) I have got a ...
Serge Rogatch's user avatar
0 votes
0 answers
429 views

what is dlclose() doing when it hangs?

0x0900000000054be4 unatexit(??) + 0x64 0x090000017026bad8 ...
蔡敏健's user avatar
-1 votes
3 answers
52 views

c++ debugger stops in wrong place on crash, VS10 win7

This is a small program i wrote to reproduce the error i get: #include <assert.h> int main(int argc, char **argv) { int* nPtr = 0; *nPtr = 5; //assert(0 && "testing"); ...
EvgCpp's user avatar
  • 1
0 votes
1 answer
870 views

Visual Studio's Graphic Diagnostics not capturing any data

I'm trying to capture a DirectX 9 game's frame to see information about how it is rendered. This part can be achieved with PIX, which works correctly. PIX, however, does not capture any call stack for ...
eric.m's user avatar
  • 1,612
2 votes
2 answers
1k views

C++ callstack on windows access violation

I have been trying to make a Windows application dump the callstack on the event of a crash (bad memory access or division by zero) or standard c++ exceptions. I have build StackWalker and linked it ...
Jakob Simon-Gaarde's user avatar
0 votes
0 answers
1k views

"Debug error R6010 - abort() has been called" - How to debug?

At completely random times during runtime, my program crashes with the error in the title. The error occurs without any user inputs or indication as to why, which makes it difficult to debug. The Call ...
Silverlan's user avatar
  • 2,881
3 votes
1 answer
663 views

visual studio C++ execution stack doesn't appeared after my program crashed

I launch my program in debug mode with Visual Studio, but when it has crashed, the error doesn't seem to be caught by Visual Studio. I don't get the execution stack at all. When I launch the ...
Flows's user avatar
  • 3,853
1 vote
2 answers
819 views

Why would a stack trace skip a function that obviously has to have been called for the following functions to have been reached?

Given a setup like this, where DoFooStuff() is called: class Foo { public: void DoFooStuff(); // calls Bar::DoBarStuff() } class Bar { public: void DoBarStuff(); // Calls Bar::...
Kelsie's user avatar
  • 1,020
5 votes
1 answer
10k views

Function Call Stack in C++

I have tried the following links, from StackOverflow and other sites,[I tried, but it didn't helped me, so i can't avoid duplicating] StackWalk64 on Windows - Get symbol name How do you make ...
Zeus's user avatar
  • 571
0 votes
1 answer
276 views

Way to track all functions in Visual Studio / Nice debugger for VS

1)There is call stack provided in VS but isn't always show the sequence of functions called by user's code.It just shows functions from windows & directly the function you put break point on & ...
Tushar's user avatar
  • 482
1 vote
3 answers
2k views

Is it possible to debug-print the caller of the current function? [duplicate]

Possible Duplicate: print call stack in C or C++ Often times when debugging code I need to figure out who is calling the function that I have placed a debug statement in. I know that ...
Cory Klein's user avatar
  • 55.3k
7 votes
4 answers
3k views

C++ Stack Tracing issue

I am working on a class which I would like to use to log the current Call Stack on computers with Windows Vista/7. (Very similar to “Walking the callstack” http://www.codeproject.com/Articles/11132/...
user667967's user avatar
3 votes
3 answers
5k views

Tracing function calls in C++ using gdb

I have a system developed in C++ on Linux platform. I am doing some debugging of this system. I want to look for the complete sequence of function calls to a function. Lets assume the functions are ...
user982740's user avatar
4 votes
1 answer
2k views

Unmanaged call stack in c# application

I am getting an access violation error in an unmanaged dll I am writing, but when I try to debug It in a c# application it will only get the last frame of the call stack in Visual Studio's debug ...
Tom Fobear's user avatar
  • 6,749
1 vote
1 answer
887 views

Mac: I get SIGABRT but the call stack is useless

I'm coding a game for Mac in c++, and I'm getting a SIGABRT, and the console prints the following: terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::...
Damian's user avatar
  • 5,551
6 votes
2 answers
1k views

Stack Walking a debugged process

I'm opened opening a process (with C++/Windows) using if( CreateProcessA( NULL, // No module name (use command line) (LPSTR)path, //argv[1], // Command line NULL, // ...
Idov's user avatar
  • 5,124
2 votes
3 answers
395 views

Why does the debugger need symbols to reconstruct the stack?

When debugging in Visual Studio, if symbols for a call stack are missing, for example: 00 > HelloWorld.exe!my_function(int y=42) Line 291 01 dynlib2.dll!10011435() [Frames below may be ...
Martin Ba's user avatar
  • 38.7k
6 votes
6 answers
12k views

Call Stack at Runtime

I want to access the call stack at runtime in a Native C++ application. I am not using the IDE. How do I display the call stack? Update: I have a function which is called from many points all over ...
Agnel Kurian's user avatar
  • 59.4k
4 votes
3 answers
3k views

How to get a full call stack in Visual Studio 2005?

How can I get a full call stack for a c++ application developed with Visual Studio 2005? I would like to have a full call stack including the code in the system libraries. Do I have to change some ...
Thomas Koschel's user avatar