Tip-of-the-Week Contents

 


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

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

Help us improve these tips!