(Sorry for my english, it isn't my native language.)
I am creating a... well, kind of sound editing - music creation program. I only recently started to use sf::SoundStream. Until that point, I had no problem. I used debugger, I was happy. Now, it is over. When there is sf::SoundStream in my code (one of my class inherits from it, as in the tutorial), and i want to debug it, the debugger starts, but nothing happens. I don't know, whether the program starts or not, but it doesn't even step into main().
Everything is ok - I use the debug versions of libraries, use the debug build (I use Code::Blocks, btw), and use debugging mode. The debugger output says:
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.0.50.20100212
Child process PID: 2312
* 1 Thread 2312.0x670 __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at D:/Programmes/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/iostream:77
after several "step" commands:
(... lot of I-can't-understand things ...)
In KERNEL32!IsBadCodePtr () (C:\WINDOWS\system32\kernel32.dll)
Single stepping until exit from function KERNEL32!IsBadCodePtr,
which has no line number information.
0x7c80a1c3 in WideCharToMultiByte () from C:\WINDOWS\system32\kernel32.dll
In WideCharToMultiByte () (C:\WINDOWS\system32\kernel32.dll)
Single stepping until exit from function WideCharToMultiByte,
which has no line number information.
0x7c80a0c7 in WideCharToMultiByte () from C:\WINDOWS\system32\kernel32.dll
In WideCharToMultiByte () (C:\WINDOWS\system32\kernel32.dll)
Single stepping until exit from function WideCharToMultiByte,
which has no line number information.
and this three steps seem to iterate forever (didn't have much patience).
All I have throughout this is an empty console window, nothing else. (And the IDE, of course
) I'm using MinGW-TDM, but i downloaded gdb-7.0.50.
My question is: what is causing this, and what can I do?
If this is not enough, I will create a minimal environment to reproduce this, on request. Thanks for any help
(No, please don't say not to use debugger... I'm too lazy and comfortable
)
And thanks Laurent, for making this great library. It is really fun to use it ^_^