0

It says everywhere that all you need to do is add a comma and number of arrays to view pointer info, however I find I can't see any values in the watch window at all, and attempting "RawPacket,1" only tells me '1' is not a valid format specifier. I don't understand, as vs2008 showed these without any trouble.

The project is mixed mode, VB , c# and vc++, targeting 4.0 framework.

For those who want to know, here is more info about what raw packet is.

typedef union {
    _AgalertAsciiPacket Legacy;
    _PacketHeader Header;
    char RawData[1];
    struct {
        _PacketHeader Header;
        _PayloadGps Payload;
    }GPS;

    struct {
        _PacketHeader Header;
        _PayloadStatus Payload;
    }Status;

} _RawPacket;

Defined like :

public ref class Packet{
   _RawPacket * RawPacket;
   Packet(){
   RawPacket = new _RawPacket;
   }
//etc, etc
}

Watch window Watch window!

Tools->options Tools options!

Community
  • 1
  • 1
Erik Friesen
  • 175
  • 1
  • 10
  • 1
    Too many screenshots, not enough real info. What is a "RawPacket"? Turn on the Managed Compatibility Mode option in mixed mode debugging. – Hans Passant Aug 12 '14 at 14:36
  • How is one supposed to ask, anyway? The most basic of debugger functions isn't working here, so where to start? Use netbeans maybe? Mixed mode option is on, same results. – Erik Friesen Aug 12 '14 at 15:03
  • Adding to the waterfall that is stackoverflow, I think I have asked 5 or 6 questions here over the years, perhaps I have made progress, this one at least got one comment. – Erik Friesen Aug 12 '14 at 19:06
  • After time, restarting visual studio, changing to mixed mode, now it is working. – Erik Friesen Aug 12 '14 at 19:12

0 Answers0