ddbg suggestion
Frits van Bommel
fvbommel at REMwOVExCAPSs.nl
Wed Apr 4 04:45:02 PDT 2007
Jascha Wetzel wrote:
> ok, to be sure, i'll make the prefix configurable.
> personally, i use a new console when using Code::Blocks as a front end.
> i wonder if a that ouput could be redirected to a front end as well.
>
> bobef wrote:
>> There is need. To create a font end the two things must be separated. Also the prefix don't have to be "unique", it just have to be something that is different from the debugger's output. Say the debugee's output is prefixed with # or $ or whatever. I doubt that any message of the debugger starts with $ (or something other). So when the line begins with $ just strip the $ and the rest is debugee's output, otherwise it is debugger's.
>>
>>
>> Jascha Wetzel <[firstname]@mainia.de> Wrote:
>>
>>> you can use the "nc" command before starting the debuggee to make ddbg
>>> open a new console for it. i think that's the best solution for that
>>> problem. no prefix can be unique and it's a lot more readable to
>>> separate the ouput properly.
>>> i will still consider adding a prefix as an option if there is need for it.
>>>
>>> bobef wrote:
>>>> The debugee's output must be distinguished from the debuggers's output by prefix or something. Otherwise it is impossible for non-human to say which one is which. A single character would do nicely.
Note that in your earlier message you seemed to think he wanted a prefix
on the output of the debugger, but he meant the _debuggee_. Just in case
you missed that.
This shouldn't be a problem, since presumably you (as the author of the
debugger) have control over what messages the debugger itself generates
and can ensure it never starts with the chosen prefix?
More information about the Digitalmars-d-debugger
mailing list