How do I get my program to start executing?

 

After TotalView displays its Process Window, you're ready to get your program executing. Because almost everyone who uses TotalView has used another debugger, what you're probably doing is setting a breakpoint somewhere, then selecting the Go button in the toolbar.

Here are two alternatives:

  • Select the Process > Create command. This creates and initializes a process. Execution stops before your program begins.
  • Select Step or Next. This runs your program to the first executable line. That is, these commands initialize your program.

Bonus Tip: Diving in the Variable Window

Did you know that you can dive on the data in the Variable Window? The only time you can't dive is when you're seeing a fundamental data type such as an integer or floating point number.


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

Help us improve these tips!