home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / programm / 2304 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.8 KB

  1. Xref: sparky comp.programming:2304 comp.unix.programmer:4291 comp.lang.c:12307 comp.arch:8898
  2. Path: sparky!uunet!idacrd!desj@ccr-p.ida.org
  3. From: desj@ccr-p.ida.org (David desJardins)
  4. Newsgroups: comp.programming,comp.unix.programmer,comp.lang.c,comp.arch
  5. Subject: Re: What would you like in a debugger?
  6. Message-ID: <1555@idacrd.UUCP>
  7. Date: 14 Aug 92 01:54:48 GMT
  8. References: <bosullvn.713038630@unix1.tcd.ie> <1992Aug13.125242.6664@Urmel.Informatik.RWTH-Aachen.DE>
  9. Sender: desj@idacrd.UUCP
  10. Organization: IDA Center for Communications Research, Princeton
  11. Lines: 24
  12.  
  13. Stephen R. van den Berg <berg@physik.tu-muenchen.de> writes:
  14. >- The ability to single step in a disassembly window (next to the source
  15. >  window), priceless at the times that you have narrowed down the problem,
  16. >  looked over the code over and over, can't see the bug, suspect a compiler
  17. >  error, and want to make sure.
  18.  
  19. I'd like to see source-level debugging of assembly language.  I don't
  20. know about other systems, but the Cray Research debugger (cdbx), for
  21. one, doesn't support this.  Note that this isn't at all the same as just
  22. disassembling the instructions; the debugger should handle
  23. assembly-language symbols and macros.
  24.  
  25. Given this, you could hope for something better than what Stephen asked
  26. for.  Given the original source code in a high-level language (say, C),
  27. and the assembly language output by the compiler, it would be especially
  28. nice to be able to do source-level debugging on both simultaneously.
  29. Perhaps the way to do this would be some command for switching between
  30. the C source and the assembly-language source.
  31.  
  32. This would also make sense with other forms of interactive code.  For
  33. example, switching between C++ source and the intermediate C code
  34. produced by cfront.
  35.  
  36.                                         David desJardins
  37.