4

I just opened an old C project in Visual Studio 2010 and tried to understand Intellitrace. But I get this error message

Intellitrace is not available for native or mixed-mode debugging

I searched a bit on SO and found similar but not yet resolved questions. Do you know what could be the problem? Thanks

Open the way
  • 26,225
  • 51
  • 142
  • 196
  • Hmya, the emphasis here is on the word "managed". Once you can manage code execution, there's a wholelotta goodies that become available. Verification being the bigger one btw. The point of C is quite the opposite, run as fast as you can and don't waste time leaving breadcrumbs that would be helpful when it blows up. Like a stack trace that is walkable at runtime. – Hans Passant Sep 26 '10 at 21:37
  • can somehow a C code / VS project forced to be managed? – Open the way Sep 26 '10 at 21:40

3 Answers3

6

Just as with Visual Studio 2010, Visual Studio 2012 Ultimate also does not provide Intellitrace for native apps.

In Visual Studio 2012, Intellitrace is available for:

  • Visual Basic and Visual C# apps that use the .NET Framework 2.0, 3.0, 3.5, 4.0, or 4.5.
  • F# apps
  • Windows Store apps supported for events only

It is not available for:

  • C++, script, or other languages
  • Silverlight, Xbox, or Windows Mobile apps

See http://msdn.microsoft.com/en-us/library/vstudio/dd264915.aspx for more info.

2

The Intellitrace technology is currently only available on managed projects. Mixed-mode by definition contains native code therefore it is disabled.

linuxuser27
  • 7,183
  • 1
  • 26
  • 22
  • holy crap! And nothing can be done to my project so it can use this amazing feature? – Open the way Sep 26 '10 at 21:23
  • Not currently. There have been many request for this feature though. – linuxuser27 Sep 26 '10 at 21:25
  • oh man :( stupid microsoft people, I can not imagine what hidden interests are there ... – Open the way Sep 26 '10 at 21:26
  • by the way, I know that gdb implements reverse debugging, but is it here some IDE (Eclipse, Xcode, etc) for C++ that can graphically work with something similar? – Open the way Sep 26 '10 at 21:28
  • I am also familiar with that functionality within `gdb` but I am not aware of a UI that exposes it. I would check `DDD` but I could not find a definitive answer from their site, but its last release was prior to the inclusion of that technology in `gdb`. – linuxuser27 Sep 26 '10 at 21:38
  • VMWare has some nice tools that work on native code. Check out www.replaydebugging.com – Abhijit Rao Sep 27 '10 at 08:25
0

Intellitrace only works for managed debugging (eg. C# or vb).

Femaref
  • 60,705
  • 7
  • 138
  • 176