Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Frame issue with the debugger plugin

<< < (8/14) > >>

oBFusCATed:
No idea what bug you're talking about.
Do you have a link with description?

scarphin:
It occurs with embedded compilers (i.e. avr-gcc), it might be a gdb configuration problem or an actual bug. Currently I don't have a setup to produce it, I'll provide more information when I can if I can.

scarphin:

--- Quote from: oBFusCATed on September 28, 2015, 12:55:10 am ---This patch http://cmpt.benbmp.org/codeblocks/patches/dbg.win64.support.002.patch (contains the previous), should fix the disassembly window, too.
Please test and report any problems on both 32 and 64 bit windows.

--- End quote ---
Fails to compile with:

--- Code: ---D:\coding\projects\sw\codeblocks\trunk\src\sdk\debuggermanager.cpp: In function 'wxString cbDebuggerAddressToString(uint64_t)':
D:\coding\projects\sw\codeblocks\trunk\src\sdk\debuggermanager.cpp:499:18: error: could not convert 'std::basic_stringstream<_CharT, _Traits, _Alloc>::str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::basic_stringstream<_CharT, _Traits, _Alloc>::__string_type = std::basic_string<char>]()' from 'std::basic_stringstream<char>::__string_type {aka std::basic_string<char>}' to 'wxString'
     return s.str();
                  ^
--- End code ---

mingw-builds compiler 4.9.2.rev3

oBFusCATed:
Try using something like this: return wxString(s.str().c_str(), wxConvUTF8);
It seems, I've not tested the latest revision with wx2.8.

scarphin:

--- Quote from: oBFusCATed on September 28, 2015, 08:11:40 pm ---It seems, I've not tested the latest revision with wx2.8.

--- End quote ---
Please make sure it compiles first then I'll test it. Currently I don't have much time to try to make a patch I'm not familiar with compile.

Btw the patch doesn't apply with svn, I had to use git to apply it. Others also willing to test this might complain about that if you don't fix it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version