Page MenuHomeFeedback Tracker

Server debugging isn't working
Closed, ResolvedPublic

Description

Hello @Geez!
When i run Dayz debug in client - server mode:
DayZDiag_x64.exe with parameters "-profiles=.\profiles" "-mission=.\mpmissions\dayzOffline.chernarusplus" -server -config=serverDZ.cfg
and changing debug mode in Workbench script editor to "Server" (Debug -> Debug Server), then server debuggin isn't work.
Script debuggin work fine only for client side (when i change debug mode to client (Debug -> Debug Client).
Can you fix this?

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  1. Run Workbench
  2. Run Script editor
  3. Run sebug server - DayZDiag_x64.exe with parameters "-profiles=.\profiles" "-mission=.\mpmissions\dayzOffline.chernarusplus" -server -config=serverDZ.cfg
  4. Run debug client - DayZDiag_x64.exe -connect=127.0.0.1 -port=2302
  5. Wait while client connect to local debug server
  6. In Script editor set breakpoint in server script
  7. Change debug mode in Script editor to server (Debug -> Debug server)

8 Perform an action that will start the execution of the server script

  1. Now you see that server debugging is not working

Event Timeline

Nytlenc created this task.Oct 16 2022, 5:06 AM
Geez changed the task status from New to Awaiting internal Testing.Oct 16 2022, 8:39 PM
sileed added a subscriber: sileed.Oct 24 2022, 12:57 PM

Hello!
Any information on when this might be fixed?

In Script editor set breakpoint in server script

Maybe add info which vanilla script you can try to test?

This comment was removed by Nytlenc.

In Script editor set breakpoint in server script

Maybe add info which vanilla script you can try to test?

Are you a employee Bohemia interactive?

PR9INICHEK added a comment.EditedFeb 2 2023, 3:33 AM

Are you a employee Bohemia interactive?

Nope

Nytlenc added a comment.EditedDec 27 2023, 5:05 AM

Hello @Geez! Any news about this bug? When developing mods, every time there is a need for debugging on the server side when multiplayer is running, but debuging on server side does not work. Often i need to look at what data was transmitted by the client and what was received by the server, and then debug the received data on the server side. Unfortunately, the operation of single-player mode and multiplayer mode differs in terms of client-server interaction. This makes working with mods very difficult when server debugging is broken.

Geez added a comment.Jan 2 2024, 10:15 AM

Hello @Geez! Any news about this bug? When developing mods, every time there is a need for debugging on the server side when multiplayer is running, but debuging on server side does not work. Often i need to look at what data was transmitted by the client and what was received by the server, and then debug the received data on the server side. Unfortunately, the operation of single-player mode and multiplayer mode differs in terms of client-server interaction. This makes working with mods very difficult when server debugging is broken.

Hello Nytlenc.
We did not find any issues as debugging has been working for us in the DayZDiag server.
Any other info you could provide?

Hello @Geez !
I made this video for you. Please have a look and sorry for my bad English.
https://youtu.be/nSzakkY3v-A

Hello @Geez
Thank you! In release 1.26 the server debug side works fine!!!
This ticket can be closed.

Geez closed this task as Resolved.Wed, Nov 13, 11:32 AM
Geez claimed this task.