debug / debugger / ability to look in code

Everything about mods can be found here.

Moderator: Morax

debug / debugger / ability to look in code

Postby warpie » 08 Aug 2015, 17:55

Hi there all o7

I have a question, i have today download 2 mods and if I load the game with the both mods, the game loads not good and freeze.
and separately works the 2 mods.

Is there a ability to look at what went wrong in the code or list?
I use Notepad++ ect
User avatar
warpie
Crusader
 
Posts: 37
Joined: 08 Aug 2015, 17:33
Has liked: 2 times
Been liked: 2 times
FAF User Name: warpie

Re: debug / debugger / ability to look in code

Postby Myxir » 08 Aug 2015, 19:26

enable game logs in faf (options -> settings -> save game logs) or use window mode and press F9 for the log window
Unhappy with balance http://i.imgur.com/q5G2BlM.png
User avatar
Myxir
Evaluator
 
Posts: 791
Joined: 09 Apr 2012, 14:01
Has liked: 94 times
Been liked: 306 times
FAF User Name: Washy (irc)

Re: debug / debugger / ability to look in code

Postby nine2 » 09 Aug 2015, 12:26

what myxir said, and no - there is no debugger. you can edit the mods and add LOG("blah") statements to work out what is going on
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: debug / debugger / ability to look in code

Postby Myxir » 09 Aug 2015, 12:52

actually there is a debugger, but i wouldn't recommand it.
you can start it with alt+f9 i think, and set breakpoints, but sometimes it feels like it's just ignoring them anyway
Unhappy with balance http://i.imgur.com/q5G2BlM.png
User avatar
Myxir
Evaluator
 
Posts: 791
Joined: 09 Apr 2012, 14:01
Has liked: 94 times
Been liked: 306 times
FAF User Name: Washy (irc)

Re: debug / debugger / ability to look in code

Postby nine2 » 09 Aug 2015, 13:14

really i was told it didnt work at all

doesnt work for me... says file not found

is there a trick?
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: debug / debugger / ability to look in code

Postby warpie » 09 Aug 2015, 20:28

well i have load the game and stops ( he is not 100% ready the loading procces ), i press F9, i see notting but when i move my mouse,
he tells me there is text, if i go desktop and move the mouse on icon of supcomFA i see there is a window thats called Moho log but i can't get on it


If you alt-F9 you got de Debugger, but i don't see rerrors

I have also enble the game logs in faf, but where can i find it?
ok found them : C:\ProgramData\FAForever\logs
Last edited by warpie on 09 Aug 2015, 21:58, edited 2 times in total.
User avatar
warpie
Crusader
 
Posts: 37
Joined: 08 Aug 2015, 17:33
Has liked: 2 times
Been liked: 2 times
FAF User Name: warpie

Re: debug / debugger / ability to look in code

Postby warpie » 09 Aug 2015, 20:30

here is the img after hes done ( not 100% loaded ) + i have also pressed on F9
SCFA-FAF_Null-01.png
SCFA-FAF_Null-01.png (727.69 KiB) Viewed 3767 times

Ps: i use 2 screens... the left is black ...
User avatar
warpie
Crusader
 
Posts: 37
Joined: 08 Aug 2015, 17:33
Has liked: 2 times
Been liked: 2 times
FAF User Name: warpie

Re: debug / debugger / ability to look in code

Postby warpie » 09 Aug 2015, 21:58

it is between advanced-shields
http://www.moddb.com/mods/advanced-shields/downloads/advanced-shields
and other named : Regeneration see attach, dont find the link

if you try, you can only exit with alt-F4 and click yes

if i combine it with orther mods separately
*advanced-shields = a * Regeneration = b
*other mod 1 = c * other mod 2 = d
a c d or b c d = ok
a b c or a b d = its not ok
Attachments
1111regeneration_mutatorsupcomsource.zip
(1.53 KiB) Downloaded 67 times
User avatar
warpie
Crusader
 
Posts: 37
Joined: 08 Aug 2015, 17:33
Has liked: 2 times
Been liked: 2 times
FAF User Name: warpie

Re: debug / debugger / ability to look in code

Postby Myxir » 09 Aug 2015, 22:10

warpie wrote:he tells me there is text, if i go desktop and move the mouse on icon of supcomFA i see there is a window thats called Moho log but i can't get on it

do you use window mode? it's kind of required for the moho log window, because it will try to hide behind the game window
Unhappy with balance http://i.imgur.com/q5G2BlM.png
User avatar
Myxir
Evaluator
 
Posts: 791
Joined: 09 Apr 2012, 14:01
Has liked: 94 times
Been liked: 306 times
FAF User Name: Washy (irc)

Re: debug / debugger / ability to look in code

Postby warpie » 09 Aug 2015, 22:20

Myxir wrote:do you use window mode? it's kind of required for the moho log window, because it will try to hide behind the game window

Aahh thx for the tip, I played it in full screen... now i can see it from the begin in the loadings procces, thx
User avatar
warpie
Crusader
 
Posts: 37
Joined: 08 Aug 2015, 17:33
Has liked: 2 times
Been liked: 2 times
FAF User Name: warpie

Next

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest