Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 46d1270

Browse files
committed
Reworking packaging to support npm package model.
Removing unncessary debug output.
1 parent a12eccf commit 46d1270

File tree

4 files changed

+8
-20
lines changed

4 files changed

+8
-20
lines changed

.vscodeignore

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
**
33
**/.DS_Store
44
**/.mdb
5-
!MonoDebug/**
6-
!attach.ts
75
!package.json
86
!bin/**
97
!Changelog.txt
8+
!LICENSE.txt
109
!README.md
11-
!Images/unity-logo128x128.png
12-
!Images/dark/Unity.png
13-
!.idea
10+
!Images/**
11+
!out/**
12+
!node_modules/**

UnityDebug/UnityDebugSession.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
using System.Net;
1313
using Microsoft.VisualStudio.Shared.VSCodeDebugProtocol.Messages;
1414
using Mono.Debugging.Client;
15-
using Mono.Debugging.Evaluation;
16-
using Mono.Debugging.Soft;
1715
using VSCodeDebug;
1816
using MonoDevelop.Debugger.Soft.Unity;
1917
using MonoDevelop.Unity.Debugger;
@@ -352,7 +350,6 @@ public override void Disconnect(Response response, dynamic args)
352350

353351
public override void SetFunctionBreakpoints(Response response, dynamic arguments)
354352
{
355-
SendOutput("stdout", arguments.ToString());
356353
var breakpoints = new List<ResponseBreakpoint>();
357354
foreach (var breakpoint in arguments.breakpoints)
358355
{

package.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,12 @@
1010
},
1111
"dependencies": {
1212
"make": "^0.8.1",
13+
"@types/node": "^10.0.8",
1314
"npm": "^6.0.0",
15+
"vscode": "^1.1.17",
1416
"vscode-debugprotocol": "^1.29.0",
1517
"vscode-nls": "^3.2.2"
1618
},
17-
"devDependencies": {
18-
"@types/mocha": "^5.2.0",
19-
"babel-preset-env": "^1.6.1",
20-
"mocha": "^5.1.1",
21-
"typescript": "^2.8.3",
22-
"vscode-debugadapter-testsupport": "^1.29.0",
23-
"vsce": "^1.40.0",
24-
"vscode": "^1.1.17",
25-
"vscode-nls-dev": "^3.0.9"
26-
},
2719
"categories": [
2820
"Debuggers"
2921
],

typescript/exceptions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,15 @@ class Exception extends TreeItem {
120120
}
121121

122122
get label(): string {
123-
return `${this.mode} : ${this.name}`;
123+
return `[${this.mode == "always" ? "✔" : "✖"}] ${this.name}`;
124124
}
125125

126126
set label(newLabel: string) {
127127
this.name = this.name;
128128
}
129129

130130
get tooltip(): string {
131-
return `${this.mode} : ${this.name}`;
131+
return `[${this.mode == "always" ? "✔" : "✖"}] ${this.name}`;
132132
}
133133

134134
contextValue = 'exception';

0 commit comments

Comments
 (0)