diff --git a/CHANGELOG.md b/CHANGELOG.md index b7c47f7..383f0e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 0.1.2 + +- added notification to replace runtime error in case no argument set is defined for the Hotspot Detection, but an execution is requested. + ## 0.1.1 - added a log webview, which can be opened via command to provide more detailed information diff --git a/package-lock.json b/package-lock.json index 6fc75b4..f619be5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "discopop", - "version": "0.1.1", + "version": "0.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "discopop", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { "@vscode/codicons": "^0.0.33", "@vscode/webview-ui-toolkit": "^1.4.0" diff --git a/package.json b/package.json index f08c24e..63fbeda 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "An extension for the Parallelism Discovery tool DiscoPoP.", "author": "TU Darmstadt - Laboratory for Parallel Programming", "icon": "media/discopop_icon.png", - "version": "0.1.1", + "version": "0.1.2", "publisher": "TUDarmstadt-LaboratoryforParallelProgramming", "repository": { "type": "git", diff --git a/src/extension.ts b/src/extension.ts index f49cb95..b0af493 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -148,6 +148,13 @@ export class UIExtension requestConfirmation: getRequestConfirmationWrapper(), cancelToken: getCancelTokenWrapper(token), } + if (executableArgumentsForHotspotDetection.length === 0) { + UIPrompts.showMessageForSeconds( + 'Hotspot Detection not executed: No executable arguments provided.', + 8 + ) + return + } return this.discopopExtension.runHotspotDetection( uiWrappers, projectPath,