Re: phix and debugging question

new topic     » goto parent     » topic index » view thread      » older message » newer message

I assume you have read http://phix.x10.mx/docs/html/debugging.htm

The "DEV (ctrace.out not yet supported)" comment should have been deleted some time ago.

with profile[_time] won't do anything until the program terminates successfully.
with trace by itself won't do anything; you need a trace(1) to start an interactive trace or trace(3) to start writing ctrace.out.

From the sound of things I'd recommend the latter, after <ctrl c> to kill the runaway app you should be able to inspect ctrace.out
to figure out what it was up to. You can also do things like this:

without trace 
include pGUI.e 
include builtins\VM\pcfunc.e 
with trace 

so that lines from those files are omitted from the ctrace.out file. Repeat that sort of thing (for any code, not just includes) a few times until you get a clear picture of where it is going loopy.

Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu