User forums > Help

How to use gdb in C::B?

<< < (2/6) > >>

mandrav:

--- Quote ---"Attempt to use a type name as an expression"  how do I configure that? ?
--- End quote ---
This means you tried to watch a typename, e.g. 'int'.
This message is usually harmless and might appear often if you enable "Settings->Plugins->Debugger->Evaluate expression under cursor" which will try to evaluate whatever word is under the mouse cursor...

selles:


--- Quote ---This message is usually harmless and might appear often..

--- End quote ---

I don't know if that is causing my problem here, so I unchecked in "Settings->Plugins->Debugger->Evaluate "expression under cursor", I don't believe that.. but that error always happens when I debug another program, I click then in the  " next line" button two times and the application finish.

error
Program received signal (SIGSEGV)
Segmentation fault
Program received signal (SIGSEGV)
Segmentation fault
exited 128
Debugger finished with status 0

can you clear me that errors?


Selles

mandrav:

--- Quote ---can you clear me that errors?
--- End quote ---
What errors? These segmentation faults means your program is crashing....

selles:
no no Mandrav :lol:, of course I am not wanting to say that the mistake is of the C: : B,  I don't only get to understand what that is wanting me to say, because the application compiles e run perfectly, however that happens. . what do I have to do in that case? it can be because of the variable to be in another file.h and this file is not directly declared in the file in debug?

thank you Mandrav, and sorry for the confusion :)

Selles

selles:
understood?
the codeline where is getting error in debug, works perfectly when only Run,

if you can give me a tip about what to do, I thank.. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version