User forums > General (but related to Code::Blocks)

[OT] unofficial MinGW GDB gdb with python released

<< < (27/35) > >>

nenin:

--- Quote from: ollydbg on August 18, 2011, 02:57:03 pm ---
--- Quote from: nenin on August 18, 2011, 12:37:31 pm ---I did not. But C::B did it by default, in "Local variables" section of watch.

--- End quote ---
En, that's the same thing I said in my previous post.

--- End quote ---
I suggest to highlight this problem, in header. 

nenin:
I found other issue. This declaration:

--- Code: ---const static std::string apms[5]={"&amp;","&lt;","&gt;","&quot;","&apos;"};
--- End code ---
kills GDB.

ollydbg:

--- Quote from: nenin on August 27, 2011, 05:29:02 pm ---I found other issue. This declaration:

--- Code: ---const static std::string apms[5]={"&amp;","&lt;","&gt;","&quot;","&apos;"};
--- End code ---
kills GDB.

--- End quote ---
I just test it and works here.(WinXP, MinGW GCC 4.6.1)

see the debug log:

--- Quote ---> p apms
$1 = {"&amp;", "&lt;", "&gt;", "&quot;", "&apos;"}

--- End quote ---

nenin:

--- Quote from: ollydbg on August 28, 2011, 03:07:12 am ---
see the debug log:

--- Quote ---> p apms
$1 = {"&amp;", "&lt;", "&gt;", "&quot;", "&apos;"}

--- End quote ---

--- End quote ---
It works in gdb console. But in C::B watch  dgb fell. I use last TDM - dwarf, 7.3.50.20110810-cvs and CB::B 10.05

ollydbg:

--- Quote from: nenin on August 31, 2011, 06:56:18 pm ---
--- Quote from: ollydbg on August 28, 2011, 03:07:12 am ---
see the debug log:

--- Quote ---> p apms
$1 = {"&amp;", "&lt;", "&gt;", "&quot;", "&apos;"}

--- End quote ---

--- End quote ---
It works in gdb console. But in C::B watch  dgb fell. I use last TDM - dwarf, 7.3.50.20110810-cvs and CB::B 10.05


--- End quote ---
It works here.

1. c::b 10.05 is too old, I suggest you should use the latest nightly build debugger branch version.
2. you need to open the "Debugger settings" dialog, then uncheck the "enable watch script" option, if you use python based gdb. (I noticed that if you check this option when using python pretty printer, there will be a crash on gdb).


Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version