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

Multiple debug prints in the same function #272

Open
ofirgall opened this issue Mar 17, 2022 · 1 comment
Open

Multiple debug prints in the same function #272

ofirgall opened this issue Mar 17, 2022 · 1 comment
Assignees
Labels

Comments

@ofirgall
Copy link

Sometimes you want to add "trace" prints in your function.
Example:

def foo():
	print('foo::1')
	if statment:
		print('foo::2')
		boo()
		print('foo::3')

	print('foo::4')
	doo()
	print('foo::5')

Currently if you are trying to add multiple debug prints the first print is ok but the other will be just empty.
Can we support multiple prints with automated indexes?

@teddylear teddylear self-assigned this Jul 27, 2022
@teddylear
Copy link
Collaborator

@ofirgall Let me take a look into this, this is something I want as well.

TheLeoP added a commit to TheLeoP/refactoring.nvim that referenced this issue May 27, 2023
pranavrao145 added a commit that referenced this issue May 31, 2023
Show count of each printf (#272)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants