|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.debugger - Request: add a flag to get ddbg_gdb behavior
Renaming the exe to get different behavior is a neat trick, and I know it is relatively common in the Unix world. It makes sense there because symlinks are rock solid. However, in Windows it means I have to make a copy of the exe every time I upgrade ddbg. I'm not worried about the tiny bit of disk space the extra copy uses, but just the annoyance factor. Anyway, I see no real advantage to typing 'ddbg_gdb' vs 'ddbg -gdb'. I think there was also one person who accidentally re-named ddbg as ddgb_dbg or something like that, and couldn't figure out why the integration with Code::Blocks wasn't working. If that were a flag the program could raise an error saying '-dbg is not a recognized flag'. But it would be a bad idea to raise an error about the program name itself not being what you expected. --bb Apr 04 2007
i agree. actually i was getting annoyed by this myself, but apparently not annoyed enough to induce the idea to change it ;) since CB won't let you specify command line options for the debugger atm, i'll add this as a command as well. it'll be in the next release. Bill Baxter wrote:Renaming the exe to get different behavior is a neat trick, and I know it is relatively common in the Unix world. It makes sense there because symlinks are rock solid. However, in Windows it means I have to make a copy of the exe every time I upgrade ddbg. I'm not worried about the tiny bit of disk space the extra copy uses, but just the annoyance factor. Anyway, I see no real advantage to typing 'ddbg_gdb' vs 'ddbg -gdb'. I think there was also one person who accidentally re-named ddbg as ddgb_dbg or something like that, and couldn't figure out why the integration with Code::Blocks wasn't working. If that were a flag the program could raise an error saying '-dbg is not a recognized flag'. But it would be a bad idea to raise an error about the program name itself not being what you expected. --bb Apr 05 2007
Jascha Wetzel wrote:i agree. actually i was getting annoyed by this myself, but apparently not annoyed enough to induce the idea to change it ;) since CB won't let you specify command line options for the debugger atm, i'll add this as a command as well. it'll be in the next release. Apr 05 2007
|