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

Add support for "logPoints" #45128

Closed
9 of 10 tasks
weinand opened this issue Mar 6, 2018 · 11 comments
Closed
9 of 10 tasks

Add support for "logPoints" #45128

weinand opened this issue Mar 6, 2018 · 11 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality on-testplan release-notes Release notes issues
Milestone

Comments

@weinand
Copy link
Contributor

weinand commented Mar 6, 2018

Umbrella item for LogPoints:

@weinand weinand added feature-request Request for new features or functionality debug Debug viewlet, configurations, breakpoints, adapter issues labels Mar 6, 2018
@weinand weinand added this to the March 2018 milestone Mar 6, 2018
@isidorn
Copy link
Contributor

isidorn commented Mar 6, 2018

@chryw fyi this milestone we will also be using the nice log point icon you provided us. Once you go over our icons to standardise them you could also make sure the log point is consistent with other icons as well.

@weinand
Copy link
Contributor Author

weinand commented Mar 15, 2018

@isidorn in the DAP the "logMessage" exists only on the SourceBreakpoint but for VS Code I suggest that "logMessage" lives on some common base class for SourceBreakpoint and FunctionBreakpoint. Most likely I'll add a "logMessage" on the FunctionBreakpoint soon.

It would be great if all the common attributes "enabled", "condition", "hitCondition", "logMessage", "id", would live in a baseclass...

And for the logMessage UI I suggest that we just add a third "page" to the Peek UI. And the "Add Logpoint" and "Edit Logpoint" actions would just open this third page automatically.

@isidorn
Copy link
Contributor

isidorn commented Mar 15, 2018

@weinand agree, I will try to structure it like that this afternoon.

isidorn added a commit that referenced this issue Mar 15, 2018
@isidorn isidorn mentioned this issue Mar 16, 2018
2 tasks
@isidorn
Copy link
Contributor

isidorn commented Mar 16, 2018

logpoint

I have created test plan item #45962
Feel free to modify it

@isidorn isidorn removed their assignment Mar 16, 2018
@weinand
Copy link
Contributor Author

weinand commented Mar 16, 2018

@isidorn you've checked off new "Add Logpoint" and "Edit Logpoint..." actions in gutter.
I'm not seeing those actions? Am I missing something?

@isidorn
Copy link
Contributor

isidorn commented Mar 16, 2018

@weinand you can see them if you run vscode out of source. They will be avilable in tomorrows insiders.
As for the Edit Logpoint - will not introduce that action since there is an edit breakpoint actions which is smart enough imho.

@weinand
Copy link
Contributor Author

weinand commented Mar 16, 2018

I am running out of latest source but I was only looking for the "Edit Log Point" actions...

@isidorn
Copy link
Contributor

isidorn commented Mar 16, 2018

If demand is high I can rename the "Edit Breakpoint" action to "Edit Log Point" if the user clicks on a log point.

@weinand weinand closed this as completed Mar 26, 2018
@isidorn isidorn added the release-notes Release notes issues label Mar 26, 2018
@auchenberg
Copy link
Contributor

@isidorn @roblourens @weinand Do we want to mention LogPoints in this iterations release notes? I'm not convinced our implementation for Node is ready for prime time, per learnings from yesterday: microsoft/vscode-node-debug#174 (comment)

One option for us could be to prefix it with "Preview"

@nonameolsson
Copy link

Does this only apply for Node? Not PHP?

@weinand
Copy link
Contributor Author

weinand commented Apr 6, 2018

@nonameolsson from the 1.22 release notes:

2018-04-06_10-45-50

Debug extensions have to actively opt into this feature.
You might want to file a feature request against PHP.

@vscodebot vscodebot bot locked and limited conversation to collaborators May 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality on-testplan release-notes Release notes issues
Projects
None yet
Development

No branches or pull requests

4 participants