Hello!<div><br></div><div>Thank you for good IDE! It's really one of the best for CMake+Boost+C++!</div><div><br></div><div>I'm running Debian Wheezy + KDE 4.6.5 + KDevelopment Platform 1.2.3 + KDevelop 4.2.3.</div>
<div><br></div><div>The problem is that debugging session suddenly (and silently!) terminates when I try to watch value of std::string-variable.</div><div>The sample program reads text from file that is encoded in cp1251.</div>
<div><br></div><div>I understand that in this case KDevelop is unable to show me human-readable value because it's configured to use UTF-8.</div><div>I guess it should not crash anyway ...</div><div><br></div><div>Can you give me any advice on how to deal with that situation?</div>
<div><br></div><div>Sample code:</div><div><div>#include <iostream></div><div>#include <fstream></div><div><br></div><div><div>const int buf_size = 1024;</div><div>char buf[buf_size];</div></div><div><br></div>
<div>int main(int argc, char **argv) { </div><div> std::ifstream infile("/compiled/share/1.txt");</div><div> infile.get(buf, buf_size);</div><div> </div><div> std::string text(buf);</div><div> std::cout << text << std::endl; // << I'm trying to watch value of text at this moment</div>
<div> return 0;</div><div>}</div></div>