Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Debugging output

Still, I cannot see the other debugging information printed to the console, only the default sumo outputs are seen. 

On Jun 25, 2024, at 12:18 AM, 林紹維 <r11944038@xxxxxxxxxxxxxxx> wrote:

Yes, those console outputs can be seen when running with option --verbose. 


On Jun 24, 2024, at 7:09 PM, Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> wrote:


Am Mo., 24. Juni 2024 um 12:49 Uhr schrieb 林紹維 via sumo-user <sumo-user@xxxxxxxxxxx>:
Hi, 
I have tried all three options but still don’t see anything printed to the terminal. Also, I am using a mac to run sumo, but I suppose this won’t really make a difference to the problem I am dealing with. I have tried printing to the terminal, and also writing texts to a file in the sumo_main.cpp file, but still nothing worked. 

Thanks and regards, 
Leonardo

On Jun 24, 2024, at 6:03 PM, Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> wrote:

on windows, sumo-gui never prints anything to a console by default. Here are your options
- use sumo instead of sumo-gui
- use the debug build of sumo-gui (which enables console output)
- enable CONSOLE_RELEASE in the cmake settings and recompile

Am Mo., 24. Juni 2024 um 11:46 Uhr schrieb 林紹維 via sumo-user <sumo-user@xxxxxxxxxxx>:
Dear community, 
I’ve been trying to modify the car following model source code, and encountered some problem when debugging. The compile has been successful, but I couldn’t get the expected output when printing to the terminal through std::cout. I am using python traci to start a sumo-gui simulation, thus I expect the guisim_main.cpp is run, but even adding some lines to directly print to the terminal would not print anything. According to the document (https://sumo.dlr.de/docs/Developer/Debugging.html), trying uncommenting some debug conditions would also print messages to the terminal, but still in my case I don’t see any output. I’m not sure if I have misunderstood the procedure of the program, or am I missing something. Any help would be appreciated!

Thanks and regards,
Leonardo
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user



Back to the top