Commit b32ada0
runHDBServer parametrized by DebugRunner
- moved DAP-related code from executable `hdb` to public sublibrary
`haskell-debugger:dap` so that runHDBServer can be imported in other packages.
- refactored runDebugger to take a "DebugRunner" function whose responsibility
is to provide a Ghc session and a way to load the debugee home units.
- The in-memory:haskell-debugger-view unit is no longer compiled via `load`
to avoid unloading the modules loaded by the DebugRunner. We rely on `compileOne` instead.1 parent bb5a0f9 commit b32ada0
43 files changed
Lines changed: 890 additions & 690 deletions
File tree
- haskell-debugger/GHC/Debugger
- Session
- hdb-dap/Development/Debug
- Adapter
- Exit
- Session
- hdb
- Development/Debug
- test/golden
- T135
- T154
- T159
- T164
- T166
- T169
- T217
- T218
- T225b
- T225
- T242
- T283
- T61
- T79
- T83
- exceptions-multiple
- exceptions-uncaught
- exceptions
- standalone-multi-module
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | | - | |
161 | | - | |
| 160 | + | |
162 | 161 | | |
163 | 162 | | |
164 | 163 | | |
| |||
169 | 168 | | |
170 | 169 | | |
171 | 170 | | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
179 | 211 | | |
180 | 212 | | |
181 | 213 | | |
| |||
190 | 222 | | |
191 | 223 | | |
192 | 224 | | |
| 225 | + | |
193 | 226 | | |
194 | 227 | | |
195 | 228 | | |
| |||
202 | 235 | | |
203 | 236 | | |
204 | 237 | | |
205 | | - | |
| 238 | + | |
206 | 239 | | |
207 | 240 | | |
208 | 241 | | |
| |||
0 commit comments