ddd-debugger

windows version of the GDB frontend DDD

試著忘記壹切 提交于 2019-11-28 08:17:58
Is there a native (not cygwin) version of DDD available for download somewhere? There is also a GDB front-end for MS Visual Studio, called WinGDB . It supports both Cygwin and MinGW. You use it just like built-in debugger in VS. It's also possible to debug remotely on Linux via SSH. RonBlackCultist DDD has not been ported to Windows AFAIK. But there ARE native gdb, which can be perfectly built using MingW32. You can also build Insight natively using Mingw32. You can also give a try to BeaverDbg Inn Try the Affinic Debugger GUI . It is a native Windows application and is similar to DDD. It uses

How to debug C++11 code with unique_ptr in DDD (or gdb)?

跟風遠走 提交于 2019-11-28 07:41:44
std::unique_ptr are nice, but I find them less comfortable when debugging in DDD or gdb . I'm using the gdb pretty printers that are part of gcc (e.g., /usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.py ). That is a big win for readability, for example: $ print pTest std::unique_ptr<MyType> containing 0x2cef0a0 However, dereferencing the pointer does not work: $ print *pTest Could not find operator*. When I need to access the value, I have to manually copy the pointer and cast it to the correct type, for example: print *((MyType*) 0x2cef0a0) If the process is still running, this version

Debugging Python and C++ exposed by boost together

旧城冷巷雨未停 提交于 2019-11-27 13:56:04
问题 I can debug Python code using ddd -pydb prog.py . All the python command line arguments can be passed too after prog.py . In my case, many classes have been implemented in C++ that are exposed to python using boost-python . I wish I could debug python code and C++ together. For example I want to set break points like this : break my_python.py:123 break my_cpp.cpp:456 cont Of course I am trying it after compiling c++ codes with debug option but the debugger does not cross boost boundary. Is

How to debug C++11 code with unique_ptr in DDD (or gdb)?

烂漫一生 提交于 2019-11-27 02:00:47
问题 std::unique_ptr are nice, but I find them less comfortable when debugging in DDD or gdb. I'm using the gdb pretty printers that are part of gcc (e.g., /usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.py ). That is a big win for readability, for example: $ print pTest std::unique_ptr<MyType> containing 0x2cef0a0 However, dereferencing the pointer does not work: $ print *pTest Could not find operator*. When I need to access the value, I have to manually copy the pointer and cast it to the