Tip-of-the-Week Contents

 

Every week, TotalView Technologies creates a new Tip-of-the-Week. If you would like it emailed to you, you can sign up at http://www.totalviewtech.com/mojo/mojo.cgi. The information you provide to us will only be used to send you tips email.


 
  • This Week's Tip
How do I see which files my application is performing I/O Upon
  1. Does TotalView have a command-line (non-windowing) interface?
  2. What is the CLI and why bother?
  3. How do I configure the CLI xterm?
  4. How do I debug executables linked with shared libraries?
  5. How do I see what TotalView executes when I use mpirun?
  6. Using the Attach Subset Command
  7. Using wide characters
  8. How can I use ssh instead of rsh to launch tvdsvr processes?
  9. How can I use ssh instead of rsh to launch tvdsvr processes? Part 2
  10. Creating default preferences
  11. Using gnu_debuglink files
  12. TotalView Versions 8.5 and 8.6
  13. Memory (Part 1)
  14. Memory (Part 2)
  15. Memory (Part 3)
  16. Memory: Leaks and dangling pointers
  17. Why using realloc() can cause problems
  18. How do I find memory leaks?
  19. Can TotalView show me if a pointer is dangling?
  20. Can TotalView tell me when a memory block is deallocated?
  21. Memory debugging and attaching to processes
  22. When freeing storage, your program crashes
  23. Painting allocated and deallocated memory
  24. Why realloc() has problems, revisited
  25. Visualizing the heap
  26. Visualizing the heap (Part 2)
  27. Filtering memory information
  28. Filtering memory information (Part 2)
  29. Setting event notifications
  30. Memory Event Actions Dialog Box and TotalView Team
  31. Viewing block properties
  32. Saving view information
  33. Using guard blocks
  34. Setting and using baselines
  35. Obtaining notification when a block is deallocated
  36. Comparing memory states
  37. Displaying memory usage information
  38. How do I tell TotalView how to process a signal?
  39. How do I stop TotalView from popping up `Stop Process' questions?
  40. Why am I seeing assembler instead of source code?
  41. The Search Path and TotalView Built-in Functions
  42. Creating a Search Path Directory Tree
  43. How do I set the way TotalView handles signals?
  44. Installing Tcl/CLI macros
  45. How do I set (or reset) command arguments?
  46. Startup (Part 1): tvdrc
  47. Startup (Part 2): The command line
  48. Startup (Part 3): Preferences
  49. How do I manage my search path so TotalView finds my source files?
  50. How do I DYNAMICALLY manage my search path so TotalView finds my source files?
  51. How do I change command line arguments and variables?
  52. Are you having problems reading some symbols in system libraries?
  53. How do I get TotalView to start faster?
  54. How do I stop TotalView from timing out while attaching to processes on other computers?
  55. Using the File > New Program command
  56. Configuring TotalView for starting MPI programs
  57. Loading multiple core files
  58. How do I get back to where I was before I began diving?
  59. How do I use the Stack Frame pane?
  60. How do I know what state my processes and threads are in?
  61. How do I use the Action Points tab?
  62. What's the best way to capture data values?
  63. How do I get around focus grabs?
  64. How do I "go to a line"?
  65. How do I "go to a line"? (revisited)
  66. Process Groups
  67. Process Groups, Part 2
  68. Process Groups, Part 3
  69. Process Groups, Part 4
  70. Thread Groups
  71. What do run controls run?
  72. More on the TOI, POI, & GOI
  73. The CLI and Groups
  74. Setting Focus in the CLI
  75. TotalView comes up in mpirun (or poe or prun or whatever). How can I fix it?
  76. How do I test a signal handler?
  77. How do I get my program to start executing?
  78. I can't see my program's output because TotalView is writing so much stuff! What do I do?
  79. Why are there two hold commands on the Process menu?
  80. Why are there two hold commands on the Process menu (part 2)?
  81. How do I debug my OpenMP or MPICH or POE or UPC (or whatever) program?
  82. Loading very large libraries when TotalView starts takes a l-o-n-g time
  83. How do I display what's stored in memory or at an address?
  84. Returning to where you started
  85. Why don't my print statements print when I step over them?
  86. There are too many threads running. What are they?
  87. How do I see different processes at the same time?
  88. Stepping and assembler
  89. What's an action point?
  90. Is there a quick way to set a breakpoint on a function?
  91. What's the difference between TotalView's stepping commands?
  92. Where does the `Out' command stop?
  93. Stepping into routines that are parameters of routines
  94. What's the difference between a breakpoint and a barrier breakpoint?
  95. Why can't I get a process (or thread) held at a barrier to execute?
  96. Why should I use barrier points instead of breakpoints when debugging multi-process and multi-threaded programs?
  97. How do the `When Hit, Stop' options change barrier and breakpoint behavior?
  98. Barriers, once again
  99. Why do some of my processes get stuck on a barrier?
  100. How do I know what triggered an exception?
  101. How do I know what triggered an exception (revisited)?
  102. After I've found the bug, how do I quickly test my fix?
  103. Exiting from TotalView and restarting after I recompile takes a long time
  104. How do I tell my program to stop at a breakpoint every 100 times a loop executes rather than every time?
  105. I like debugging using printf statements. Can you help me?
  106. How do I use breakpoints that someone else saved?
  107. How do I sit back and watch TotalView step through my program?
  108. Slow Stepping (part 2)
  109. Slow Stepping (part 3)
  110. How does a Watchpoint differ from a breakpoint?
  111. Hardware watchpoints
  112. How do I stop execution when a variable's data changes?
  113. How do I see what the value of a variable was before a watchpoint triggers?
  114. Why can you only use global variables in conditional watchpoints?
  115. Why do I need a watchpoint variable to access the current value?
  116. How do I see which process is at a breakpoint?
  117. How are breakpoints implemented?
  118. How do I avoid setting breakpoints that I only use once?
  119. Why doesn't TotalView change to the thread hitting a breakpoint?
  120. Creating a CLI conditional break macro
  121. Automatically loading actionpoints when not in executable directory
  122. What is a Pending Breakpoint?
  123. How Do You Set Breakpoints on All Methods in a Class?
  124. The Variable window
  125. What's the simplest way to see a variable's value?
  126. When is a variable not a variable?
  127. How do I display all values of one member in an array of structures?
  128. How do I see global variables? You took away the Global Variables command!
  129. How do I change the precision and size at which data is displayed?
  130. How do I look at my argv list?
  131. How do I `untransform' STL data?
  132. Using the TTF (Type Transformation Facility) to simplify structures?
  133. How do I view a static class object declared inside a function?
  134. Is there any easy way to see a group of variables?
  135. What kind of data goes into the Expression List window?
  136. How do you manipulate data in the Expression List window?
  137. Casting variables
  138. How do I track variables in recursive functions without having thousands of windows?
  139. Evaluation, scope, and this
  140. Evaluation, scope, and this (Part 2)
  141. How do I edit a variable's value?
  142. Editing Strings
  143. The Variable window and expressions
  144. Expressions and View > Lookup variable
  145. Seeing global variables
  146. Examining memory
  147. Expressing expressions (Part 1)
  148. Expressing expressions (Part 2)
  149. Expressing expressions (Part 3)
  150. Expressing expressions and block notation (Part 4)
  151. Seeing a variable's value in all threads or all processes
  152. Seeing changed variables
  153. Seeing changed variables (part 2)
  154. Printing All Values in a Fortran Module
  155. Freezing Variable Window Data
  156. Displaying Returned Values When the Value Isn't Assigned to a Variable
  157. Locking the Address
  158. How do I display an array slice? That is, how do I display part of an array?
  159. Manipulating arrays
  160. How do I select which array values I want displayed?
  161. How do I display every 13th item in an array?
  162. How do I dive on dynamically allocated 2D arrays in C?
  163. More on dynamically allocated arrays
  164. How do I reexecute some code without restarting my program?
  165. Can TotalView animate how my array data is changing?
  166. How do I animate an array slice?
  167. How do I use Help?
  168. How do I specify the browser that Help should use?
  169. Evaluating expressions
  170. Evaluating expressions containing functions
  171. Why is there expression evaluation within TotalView?
  172. Using the call graph
  173. How do I save a call graph?
  174. How do I see which files my application is performing I/O Upon
  175. Programming web sites

 

You can find tips that we've already sent out in our Tip Archive

Help us improve these tips!