AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   [AMXX] Debug Server + VSCode Extension (https://forums.alliedmods.net/showthread.php?t=320230)

Garey 12-10-2019 23:59

[AMXX] Debug Server + VSCode Extension
 
AMXXPawn Debug Adapter and Server for VSCode

An extension for Visual Studio Code that adds support debugging in AMXXPawn vm.


Features
  • Breakpoints.
  • Step Into.
  • Step Over.
  • Pause.
  • Continue.
  • Show local/global variables.
  • Set local/global variables.
  • Show callstack.
  • Support multiple sessions.

Installation Instructions
- Install visual studio code.
- Follow instructions on github repos on links below. (Source codes)
Also i recommend to install @KliPPy's extension: https://forums.alliedmods.net/showthread.php?t=300661
Some screenshots:


Main window when catch breakpoint and evaluate variable:
https://i.imgur.com/I3yt1FV.png


Side window with variables:
https://i.imgur.com/VBUL7CH.png


Callstack:
https://i.imgur.com/0TBkn4Z.png
Source codes:
Debug Server
VSCode Extension

Rosenstein 04-02-2024 10:14

Re: [AMXX] Debug Server + VSCode Extension
 
This extension would be very handy, but I just can't get it to work in vscode.
Debug Server is installed correctly in HLDS, but extension does not receive any data.

Code:

vscode
Version: 1.87.2 (user setup)
Commit: 863d2581ecda6849923a2118d93a088b0745d9d6
Date: 2024-03-08T15:20:17.278Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.19045

Code:

hlds version
Protocol version 48
Exe version 1.1.2.7 (cstrike)
Exe build: 11:25:48 Dec 11 2023 (9909)

Code:

amxx version
AMX Mod X 1.10.0.5467 (http://www.amxmodx.org)
Compiled: Jan 21 2023 20:36:36
Built from: https://github.com/alliedmodders/amxmodx/commit/27f451a8
Build ID: 5467:27f451a8
Core mode: JIT+ASM32



All times are GMT -4. The time now is 09:30.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.