Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support printing address of variable #117

Closed
derekparker opened this issue May 3, 2015 · 1 comment
Closed

Support printing address of variable #117

derekparker opened this issue May 3, 2015 · 1 comment

Comments

@derekparker
Copy link
Member

The following syntax should print the address of a variable, if it is not a pointer already:

print &myVar.

@derekparker derekparker added this to the 1.0 milestone May 3, 2015
aarzilli added a commit to aarzilli/delve that referenced this issue Oct 30, 2015
Supported operators:

- All (binary and unary) operators between basic types except <-,
++ and -- (includes & to take the address of an expression)
- Comparison operators between supported compound types
- Typecast of integer constants into pointer types
- struct members
- indexing of arrays, slices and strings
- slicing of arrays, slices and strings
- pointer dereferencing
- true, false and nil constants

Implements go-delve#116, go-delve#117 and go-delve#251
aarzilli added a commit to aarzilli/delve that referenced this issue Nov 3, 2015
Supported operators:

- All (binary and unary) operators between basic types except <-,
++ and -- (includes & to take the address of an expression)
- Comparison operators between supported compound types
- Typecast of integer constants into pointer types
- struct members
- indexing of arrays, slices and strings
- slicing of arrays, slices and strings
- pointer dereferencing
- true, false and nil constants

Implements go-delve#116, go-delve#117 and go-delve#251
aarzilli added a commit to aarzilli/delve that referenced this issue Nov 3, 2015
Supported operators:

- All (binary and unary) operators between basic types except <-,
++ and -- (includes & to take the address of an expression)
- Comparison operators between supported compound types
- Typecast of integer constants into pointer types
- struct members
- indexing of arrays, slices and strings
- slicing of arrays, slices and strings
- pointer dereferencing
- true, false and nil constants

Implements go-delve#116, go-delve#117 and go-delve#251
aarzilli added a commit to aarzilli/delve that referenced this issue Nov 4, 2015
Supported operators:

- All (binary and unary) operators between basic types except <-,
++ and -- (includes & to take the address of an expression)
- Comparison operators between supported compound types
- Typecast of integer constants into pointer types
- struct members
- indexing of arrays, slices and strings
- slicing of arrays, slices and strings
- pointer dereferencing
- true, false and nil constants

Implements go-delve#116, go-delve#117 and go-delve#251
@aarzilli
Copy link
Member

Implemented by 43b64ec

nclifton pushed a commit to nclifton/delve that referenced this issue Feb 24, 2021
* Removed old name from docker uri and using k8s name instead

* Updated helm deps
abner-chenc pushed a commit to loongson/delve that referenced this issue Mar 1, 2024
Supported operators:

- All (binary and unary) operators between basic types except <-,
++ and -- (includes & to take the address of an expression)
- Comparison operators between supported compound types
- Typecast of integer constants into pointer types
- struct members
- indexing of arrays, slices and strings
- slicing of arrays, slices and strings
- pointer dereferencing
- true, false and nil constants

Implements go-delve#116, go-delve#117 and go-delve#251
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants