GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TilNotDrip/hashlink-debugger: Visual Studio Code Debugger for Haxe/HashLink applications

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

602 Commits
602 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
debugger
debugger
 
 
hld
hld
 
 
hldebug-wrapper
hldebug-wrapper
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.vscodeignore
.vscodeignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE.md
LICENSE.md
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
bindings.js
bindings.js
 
 
build.hxml
build.hxml
 
 
display.hxml
display.hxml
 
 
haxelib.json
haxelib.json
 
 
icon.png
icon.png
 
 
package.json
package.json
 
 

Repository files navigation

HashLink Debugger

This VSCode extension allows you to debug HashLink JIT applications.

Only available on VSCode 64 bit

Additional features:

  • Watch hints: add :h to the end of a watch expression (for example, myvar:h) to display the value in hexadecimal. For the full list of hints, see enum Hint.

Building from Source

The following instructions are only relevant for building the extension from source and are not required when installing it from the marketplace.

Compiling

You will need Haxe 4.

Additionally, you need to install these dependencies:

haxelib install vshaxe
haxelib install vscode
haxelib install vscode-debugadapter
haxelib git hscript https://github.com/HaxeFoundation/hscript.git
haxelib git format https://github.com/HaxeFoundation/format.git

You will need NodeJS, if you would like to compile vscode extension or use commandline nodejs version.

Additionally, you need to install dependencies:

npm install

Once all dependencies are ready, you should be able to compile with make build.

Commandline version

Instead of the vscode plugin, you can also compile and run a commandline version, similar to gdb:

Debugger running in HashLink;

cd hashlink-debugger/debugger
haxe debugger.hxml
hl debug.hl /my/path/filetodebug.hl

You can then use gdb-like commands such as run/bt/break/etc. (see sources)

The commandline debugger can also be compiled and run using nodejs, by doing:

cd hashlink-debugger/debugger
haxe node_debug.hxml
npm install
node debugger.js /my/path/filetodebug.hl

Installing

Please note that VSCode does not allow users to have a specific directory for a single extension, so it's easier to clone this repository directly into the extensions directory of VSCode (C:\Users\<you>\.vscode\extensions on Windows).

Alternatively, you can run make package (requires dependency npm install vsce -g) to generate VSCode extension package file (.vsix). It can be used with VSCode > Extensions > Install from VSIX.

Supported Platforms

Supports Windows, Linux and Mac (Intel chip only, does not work with Rosetta). For OSX/MacOS make sure your Hashlink version is 1.12.0 or higher and you ran make codesign_osx during installation.

About

Visual Studio Code Debugger for Haxe/HashLink applications

hashlink.haxe.org/

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.