Jump to content

Recommended Posts

Posted (edited)

Hi guys. I am new to Moose\Mist and mission scripting. I have been setting up my environment to dig in. I was really hoping to get true interactive debugging working with Lua, but that seems to be on hold at the moment. That means I will be relying heavily on log file tracing for my debugging.

To make things a little nicer, I decided to try and write a custom log file viewer for the DCS files. There are some nice general loggers out there, but I felt if I wrote my own I had more flexibility to tailor the functions directly to DCS and Moose\Mist (e.g. filtering down to just Moose or Mist tracing statements, etc).

I have what I would consider a beta version now. What would be helpful if I could get some other people exercising it against various log file test data. Especially stuff with Moose or even Mist tracing statements. If you felt like giving it a try and giving me your feedback, you can get it here: DCSLogViewer

 

DCSLogViewer.png?raw=1

Edited by [16AGR] CptTrips
  • Like 4
  • Thanks 1
  • 3 weeks later...
Posted

I just use Notepad++ for the log file with custom language defined for pretty colors and such, but this looks very nice. Not sure the link works, though. 😉

  • Windows 11 Pro, RTX4090 (24GB), 5950X @ 4.3GHz, 64GB RAM @ 3000MHz, M.2 SSD 8TB, Pimax Crystal
  • Modules and maps: All of 'em. (It's a problem...)
Posted

 

Yeah.  Notepad++ is fine.  The main reason I created this was to have the log entry filtering if I only want to find Moose trace entries or Errors.  Makes it a little easier to find quickly.

Sorry for the link.  I had posted an updated version to the Moose discord, but wasn't sure if anyone here was interested.

 

-------------------------------

If anyone is interested, this version implements a file watcher that will flash the refresh button green when new log lines are detected available. Also fixed a parsing bug of Moose traces that have negative "line from" values. Event handlers? https://www.dropbox.com/s/7jwwcti9zp6l4ua/DCSLogViewer_0_9_9.zip?dl=1

Posted (edited)

It's written in C# using .Net on Winforms UI.

I assume theoretically it could be ported to a Blazor web UI.  I haven't looked into that.

I haven't done local file system stuff in Blazor yet.  Not sure of the constraints.

 

 

Theori

Edited by [16AGR] CptTrips
  • Like 1
Posted

Or maybe the inverse.  Add a 3rd "DCS Fiddle" tab in that UI with WebView control hosting that page.

I have seen mention of DCS Fiddle and was intrigued, but I have had time to play with it.  Not sure what all it can do.  Is there a video?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...