Pelles C forum

C language => Beginner questions => Topic started by: daiyoko on March 28, 2008, 11:14:53 AM

Title: Can't "Show source code" when debug
Post by: daiyoko on March 28, 2008, 11:14:53 AM
How to show the source code when debugging??
I've right click and tick the "Show source code"
but there is no change on the screen.

And also, there is no info in the Breakpoint column
and Auto, Watch......are all blank

Please, help. ???

Thanks.....
Title: Re: Can't "Show source code" when debug
Post by: severach on March 29, 2008, 06:20:58 AM
What are you looking at, assembly? The debugger starts by showing the source code. "Show source code" is only necessary when you are looking at assembly and want to get rid of it.

Project Options:
Compiler Debug information: Full
Linker Debug information: Codeview format

Auto might be blank until you've executed some code.
Watch is blank until filled in by you.
Breakpoints don't exist until you place them. Without breakpoints the debugger will automatically stop at the first line in main()
Check Locals and Globals for your variables.
Title: Re: Can't "Show source code" when debug
Post by: daiyoko on March 31, 2008, 06:25:02 AM
Thanks~~ it works now ;D

"Project Options:
Compiler Debug information: Full
Linker Debug information: Codeview format"