Xcode Console Command, xcode Console

Source: Internet
Author: User

Xcode Console Command, xcode Console

Command

Explanation

Break NUM

Set a breakpoint on a specified row

Bt

Display All call stack frames. This command can be used to display the call sequence of functions.

Clear

Deletes a breakpoint set on a specific source file or line. Its usage is clear FILENAME: NUM.

Continue

Continue executing the program being debugged. This command is used when the program stops running due to processing signals or breakpoints.

Display EXPR

The expression value is displayed after each program stops. Expressions are composed of Program-Defined variables.

File FILE

Load the specified executable file for debugging

Help NAME

Displays the help information of a specified command.

Info break

Displays the current power failure list, including the number of times the breakpoint is reached.

Info files

Displays detailed information about the debugged file.

Info func

Show all function names

Info local

Display local variable information in the current function

Info prog

Display the execution status of the program to be debugged

Info var

Show all global and static variable names

Kill

Terminate the program being debugged

List

Show source code segments

Make

Run the make tool without exiting gdb.

Next

Execute a source code line forward without entering other functions.

Print EXPR

Display the value of the expression EXPR

Print-object

Print an object

Print (int) name

Print a type

Print-object [artist description]

Call a function

Set artist-@ "test"

Set variable value

Whatis

View the Data Type of a Variable

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.