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

CHE-201: remove breakpoints in case of absence of linked file #607

Merged
merged 1 commit into from
Mar 3, 2016

Conversation

dmytro-ndp
Copy link
Contributor

@dmytro-ndp dmytro-ndp commented Mar 1, 2016

_2 Upvotes_ Remove all debugger breakpoints and current execution point in the next cases:
case 1: when linked file has been removed from project explorer;
case 2: when folder with linked file has been removed from project explorer;
case 3: when project with linked file has been removed from project explorer;
case 4: when there is no project with linked file after the loading of project explorer.

Signed-off-by: Dmytro Nochevnov dnochevnov@codenvy.com

@dmytro-ndp
Copy link
Contributor Author

@tolusha, @vparfonov, @skabashnyuk, @sleshchenko, @vzhukovskii: please, review this request.

@dmytro-ndp dmytro-ndp force-pushed the CHE-201 branch 2 times, most recently from 0a65b81 to 11d0cbc Compare March 2, 2016 14:48
@dmytro-ndp dmytro-ndp changed the title CHE-201: remove breakpoints in case ob absense of linked file CHE-201: remove breakpoints in case of absence of linked file Mar 2, 2016
@tolusha
Copy link
Contributor

tolusha commented Mar 2, 2016

+1

1 similar comment
@sleshchenko
Copy link
Member

+1

Remove all debugger breakpoints and current execution point in the next cases:
case 1: when linked file has been removed from project explorer;
case 2: when folder with linked file has been removed from project explorer;
case 3: when project with linked file has been removed from project explorer;
case 4: when there is no project with linked file after the loading of project explorer.

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
*
* @param projectTypeId
* @param debugger
*/
public void registeredDebugger(String projectTypeId, Debugger debugger) {
debuggers.put(projectTypeId, debugger);
setDebugger(debugger);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not clear for me we have registeredDebugger(String projectTypeId, Debugger debugger) we map debuger to the projectId (it's ok) but set/get debugger not understand

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part will be rewritten in time of refactoring of DebuggerPresenter (issue https://jira.codenvycorp.com/browse/CHE-492).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to keep as is. Because right now I am working on refactoring all classed related to debug. So, DebuggerManager will be change significantly

@vparfonov
Copy link
Contributor

ok

dmytro-ndp added a commit that referenced this pull request Mar 3, 2016
CHE-201: remove breakpoints in case of absence of linked file
@dmytro-ndp dmytro-ndp merged commit 90c9a76 into master Mar 3, 2016
@dmytro-ndp dmytro-ndp deleted the CHE-201 branch March 3, 2016 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants