3.0.2

Lubomir I. Ivanov neolit123 at gmail.com
Mon Mar 4 09:43:22 PST 2013


On 4 March 2013 19:24, Sergey Starosek <sergey.starosek at gmail.com> wrote:
> On Mon, Mar 4, 2013 at 7:19 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>>
>> > Is there any way to turn on console debugging on Windows (-vvv command
>> > line
>> > switch) ?
>>
>> You need to tell the app that it's a console app. Google for it, there
>> are lots of scripts out there that do that.
>
>
> Spent a lot of time doing that :( Seems there's no way to attach console to
> already running app, need to modify it to call AttachConsole().
> And have no any dev tools under my guest VM.

yep, this is possible if you have the session permissions, but you
have to have a build environment, i guess.
instead of writing a tool specific for windows i would add a -debug
command line option that dumps std* -> std.txt.

>
> If the above mentioned is true would it make sense to have such command line
> option to enable console?
>

by default there is no console if the application is compiled with
-mwindows from mingw.

you can try this (i've just pushed an update):
https://github.com/neolit123/subsurface_win32

download _dependecies.zip and _debug.zip and put them in the same
'subsurface" folder.
start subsurface.exe

btw, what do you mean by:
> 2. Enter plan 10m 10'

for one planner row, i enter 10m for "depth" and is 10' for the "average time"?
does the "used gas" value matter?

if you can't reproduce the bug with this build, then perhaps it's
something "slightly" weirder.

lubomir
--


More information about the subsurface mailing list