How to use a listing for a protrace

Posted by scott_auge on 09-Dec-2019 16:55

I have a protrace that isolates this program and line as the source of a problem:

--> pu/pu128.p at line 967 (./CENSORED/pu/pu128.r)

How do I find this line in  a LISTING because after deleting the header stuff, it shows up in a FORM definition.

Other ideas how to get to this?

Posted by ChUIMonster on 09-Dec-2019 16:59

That line number is a DEBUG line number:

compile program.p debug-list program.dbg

Posted by Rob Fitzpatrick on 09-Dec-2019 16:59

I believe you need a COMPILE DEBUG-LIST, rather than a LISTING, to get the line numbers to match up with those in the error message.

Posted by Brian K. Maher on 09-Dec-2019 17:00

Scott,
 
You want to generate a DEBUG-LIST file (compile whatever debug-list whatever.txt)
 
Brian

All Replies

Posted by ChUIMonster on 09-Dec-2019 16:59

That line number is a DEBUG line number:

compile program.p debug-list program.dbg

Posted by Rob Fitzpatrick on 09-Dec-2019 16:59

I believe you need a COMPILE DEBUG-LIST, rather than a LISTING, to get the line numbers to match up with those in the error message.

Posted by Brian K. Maher on 09-Dec-2019 17:00

Scott,
 
You want to generate a DEBUG-LIST file (compile whatever debug-list whatever.txt)
 
Brian

This thread is closed