Halil
Halil

Reputation: 2173

No symbol info on profiler

When I use g++ with -g on, AMD CodeAnalyst shows no Symbol information, and Very Sleepy crashes. However, if I compile it without debug information, Very Sleepy runs but of course, no symbols.

I tried to use MSVC and it works perfectly fine, all symbols are there. However I don't want to use it. I wonder why g++ has such an issue.

I use g++ version 4.7.2, VC10 MSVC compiler, CodeAnalyst 3.4.1037.838, Very Sleepy 0.82. Pretty much everything is up to date.

Thanks!

Edit: I created a hello world project

void hede()
{
    while(1);
}

int main() {
    cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
    hede();
    return 0;
}

Very sleepy crashes and CodeAnalyst still have no symbols. I suspect a bug here? enter image description here

Upvotes: 0

Views: 664

Answers (1)

queen3
queen3

Reputation: 15521

Do you generate .pdb files? See http://www.bytetalk.net/2010/07/how-to-generate-seperate-g-symbol-file.html

Upvotes: 0

Related Questions