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

162 breakpoint not showing up at first #217

Merged
merged 2 commits into from
Apr 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

## [Unreleased]

### Bugfixes

- Fix debugger commands not showing up at first [#162](https://github.com/ng-galien/idea-plpgdebugger/issues/162)

### Maintenance

- Compatibility with Intellij 2024.*
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pluginGroup = net.plpgsql.ideadebugger
pluginName = idea-plpgdebugger
pluginRepositoryUrl = https://github.com/ng-galien/idea-plpgdebugger
# SemVer format -> https://semver.org
pluginVersion = 241.0.0
pluginVersion = 241.0.1

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/net/plpgsql/ideadebugger/run/PlProcess.kt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class PlProcess(
}

/**
*
* Update stack and breakpoints
*/
fun updateStack(): StepInfo? {

Expand Down Expand Up @@ -399,4 +399,4 @@ class PlProcess(

data class StepInfo(val pos: Int, val total: Int, val ratio: Double)

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class PlSourceManager(private val project: Project, private val executor: PlExec
runInEdt {
FileEditorManager.getInstance(project).openFile(it, true, true)
}
return it
}
}
return vfs.findFileByPath("${stack.oid}")
Expand Down Expand Up @@ -61,4 +62,4 @@ class PlSourceManager(private val project: Project, private val executor: PlExec
private fun compareMD5(inDB: PlApiFunctionDef, inVFS: PlFunctionSource): Boolean {
return inDB.md5 == inVFS.md5
}
}
}