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

Allow to debug anonymous function #90

Open
4 tasks
ng-galien opened this issue Nov 23, 2022 · 2 comments
Open
4 tasks

Allow to debug anonymous function #90

ng-galien opened this issue Nov 23, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ng-galien
Copy link
Owner

Debugging an anonymous plpg function can be a great feature.

  • Detect we are in an anonymous function in the editor
  • Create a temporary function with the anonymous code in the target
  • Debug it in direct mode
  • Delete the temporary function at the end of debugging
@ng-galien ng-galien self-assigned this Nov 23, 2022
@ng-galien ng-galien added the enhancement New feature or request label Nov 23, 2022
@ng-galien
Copy link
Owner Author

@cvas71 Hi, what about this proposal?

@cvas71
Copy link
Contributor

cvas71 commented Nov 23, 2022

Hi! The idea is interesting, especially since you can only debug functions and procedures that exist in the dictionary. How much will this affect the dictionary, and in particular the use of values for OIDs of such procedures? After all, the database will have to constantly produce a new unique value. The number of these values is not finite?
At the moment, when using the current version, it happens that the positioning of the cursor on the desired line gets lost. It is not possible to repeat it on purpose.

@ng-galien ng-galien modified the milestones: 222.2.1, 223.0.0 Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants