Support

Home | Support | Tips

Tip-of-the-Week Archives

 

  • Most Recent Tip
Using MemoryScape and TotalView together

 
  • Before Running TotalView
  1. How do I navigate all the source code files that make up my program?
  2. Does TotalView have a command-line (non-windowing) interface?
  3. What is the CLI and why bother?
  4. How do I configure the CLI xterm?
  5. How do I debug executables linked with shared libraries?
  6. How do I see what TotalView executes when I use mpirun?
  7. Using the Attach Subset Command
  8. Using wide characters
  9. How can I use ssh instead of rsh to launch tvdsvr processes?
  10. How can I use ssh instead of rsh to launch tvdsvr processes? Part 2
  11. Creating default preferences
  12. Using gnu_debuglink files
  13. TotalView Versions 8.5 and 8.6

 
  • Memory
  1. Memory (Part 1)
  2. Memory (Part 2)
  3. Memory (Part 3)
  4. Memory: Leaks and dangling pointers
  5. Why using realloc() can cause problems
  6. How do I find memory leaks?
  7. Can TotalView show me if a pointer is dangling?
  8. Can TotalView tell me when a memory block is deallocated?
  9. Memory debugging and attaching to processes
  10. When freeing storage, your program crashes
  11. Painting allocated and deallocated memory
  12. Why realloc() has problems, revisited
  13. Visualizing the heap
  14. Visualizing the heap (Part 2)
  15. Filtering memory information
  16. Filtering memory information (Part 2)
  17. Setting event notifications
  18. Memory Event Actions Dialog Box and TotalView Team
  19. Viewing block properties
  20. Saving view information
  21. Using guard blocks
  22. Setting and using baselines
  23. Obtaining notification when a block is deallocated
  24. Comparing memory states
  25. Displaying memory usage information

 
  • Setting Up
  1. How do I tell TotalView how to process a signal?
  2. How do I stop TotalView from popping up `Stop Process' questions?
  3. Why am I seeing assembler instead of source code?
  4. The Search Path and TotalView Built-in Functions
  5. Creating a Search Path Directory Tree
  6. How do I set the way TotalView handles signals?
  7. Installing Tcl/CLI macros
  8. How do I set (or reset) command arguments?
  9. Startup (Part 1): tvdrc
  10. Startup (Part 2): The command line
  11. Startup (Part 3): Preferences
  12. How do I manage my search path so TotalView finds my source files?
  13. How do I DYNAMICALLY manage my search path so TotalView finds my source files?
  14. How do I change command line arguments and variables?
  15. Are you having problems reading some symbols in system libraries?
  16. How do I get TotalView to start faster?
  17. How do I stop TotalView from timing out while attaching to processes on other computers?
  18. Using the File > New Program command
  19. Configuring TotalView for starting MPI programs
  20. Loading multiple core files

 
  • General Topics
  1. How do I debug executables linked with shared libraries?
  2. How do I get back to where I was before I began diving?
  3. How do I use the Stack Frame pane?
  4. How do I know what state my processes and threads are in?
  5. How do I use the Action Points tab?
  6. What's the best way to capture data values?
  7. How do I get around focus grabs?
  8. How do I "go to a line"?
  9. How do I "go to a line"? (revisited)
  10. Process Groups
  11. Process Groups, Part 2
  12. Process Groups, Part 3
  13. Process Groups, Part 4
  14. Thread Groups
  15. What do run controls run?
  16. More on the TOI, POI, & GOI
  17. The CLI and Groups
  18. Setting Focus in the CLI

 
  • Running TotalView
  1. TotalView comes up in mpirun (or poe or prun or whatever). How can I fix it?
  2. How do I test a signal handler?
  3. How do I get my program to start executing?
  4. I can't see my program's output because TotalView is writing so much stuff! What do I do?
  5. Why are there two hold commands on the Process menu?
  6. Why are there two hold commands on the Process menu (part 2)?
  7. How do I debug my OpenMP or MPICH or POE or UPC (or whatever) program?
  8. Loading very large libraries when TotalView starts takes a l-o-n-g time
  9. How do I display what's stored in memory or at an address?
  10. Returning to where you started
  11. Why don't my print statements print when I step over them?
  12. There are too many threads running. What are they?
  13. How do I see different processes at the same time?
  14. Stepping and assembler

 
  • Action Points
  1. What's an action point?
  2. Is there a quick way to set a breakpoint on a function?
  3. What's the difference between TotalView's stepping commands?
  4. Where does the `Out' command stop?
  5. Stepping into routines that are parameters of routines
  6. What's the difference between a breakpoint and a barrier breakpoint?
  7. Why can't I get a process (or thread) held at a barrier to execute?
  8. Why should I use barrier points instead of breakpoints when debugging multi-process and multi-threaded programs?
  9. How do the `When Hit, Stop' options change barrier and breakpoint behavior?
  10. Barriers, once again
  11. Why do some of my processes get stuck on a barrier?
  12. How do I know what triggered an exception?
  13. How do I know what triggered an exception (revisited)?
  14. After I've found the bug, how do I quickly test my fix?
  15. Exiting from TotalView and restarting after I recompile takes a long time
  16. How do I tell my program to stop at a breakpoint every 100 times a loop executes rather than every time?
  17. I like debugging using printf statements. Can you help me?
  18. How do I use breakpoints that someone else saved?
  19. How do I sit back and watch TotalView step through my program?
  20. Slow Stepping (part 2)
  21. Slow Stepping (part 3)
  22. How does a Watchpoint differ from a breakpoint?
  23. Hardware watchpoints
  24. How do I stop execution when a variable's data changes?
  25. How do I see what the value of a variable was before a watchpoint triggers?
  26. Why can you only use global variables in conditional watchpoints?
  27. Why do I need a watchpoint variable to access the current value?
  28. How do I see which process is at a breakpoint?
  29. How are breakpoints implemented?
  30. How do I avoid setting breakpoints that I only use once?
  31. Why doesn't TotalView change to the thread hitting a breakpoint?
  32. Creating a CLI conditional break macro
  33. Automatically loading actionpoints when not in executable directory
  34. What is a Pending Breakpoint?
  35. How Do You Set Breakpoints on All Methods in a Class?

 
  • Data
  1. The Variable window
  2. What's the simplest way to see a variable's value?
  3. When is a variable not a variable?
  4. How do I display all values of one member in an array of structures?
  5. How do I see global variables? You took away the Global Variables command!
  6. How do I change the precision and size at which data is displayed?
  7. How do I look at my argv list?
  8. How do I `untransform' STL data?
  9. Using the TTF (Type Transformation Facility) to simplify structures?
  10. How do I view a static class object declared inside a function?
  11. Is there any easy way to see a group of variables?
  12. What kind of data goes into the Expression List window?
  13. How do you manipulate data in the Expression List window?
  14. Casting variables
  15. How do I track variables in recursive functions without having thousands of windows?
  16. Evaluation, scope, and this
  17. Evaluation, scope, and this (Part 2)
  18. How do I edit a variable's value?
  19. Editing Strings
  20. The Variable window and expressions
  21. Expressions and View > Lookup variable
  22. Seeing global variables
  23. Examining memory
  24. Expressing expressions (Part 1)
  25. Expressing expressions (Part 2)
  26. Expressing expressions (Part 3)
  27. Expressing expressions and block notation (Part 4)
  28. Seeing a variable's value in all threads or all processes
  29. Seeing changed variables
  30. Seeing changed variables (part 2)
  31. Printing All Values in a Fortran Module
  32. Freezing Variable Window Data
  33. Displaying Returned Values When the Value Isn't Assigned to a Variable
  34. Locking the Address
  35. Examine syntax

 
  • Arrays
  1. How do I display an array slice? That is, how do I display part of an array?
  2. Manipulating arrays
  3. How do I select which array values I want displayed?
  4. How do I display every 13th item in an array?
  5. How do I dive on dynamically allocated 2D arrays in C?
  6. More on dynamically allocated arrays

 
  • Other
  1. How do I reexecute some code without restarting my program?
  2. Can TotalView animate how my array data is changing?
  3. How do I animate an array slice?
  4. How do I use Help?
  5. How do I specify the browser that Help should use?
  6. Evaluating expressions
  7. Evaluating expressions containing functions
  8. Why is there expression evaluation within TotalView?
  9. Using the call graph
  10. How do I save a call graph?
  11. How do I see which files my application is performing I/O Upon
  12. Starting MPI programs from a shell
  13. Programming web sites