You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • "Stefan Schnell" is male
  • "Stefan Schnell" started this thread

Posts: 102

Date of registration: Mar 13th 2009

Location: Oberirsen - Germany

Occupation: Senior Software Engineer

Hobbies: Programming aund Photography

  • Send private message

1

Sunday, March 15th 2009, 11:25am

Debugger don't work

Hello,
I have a "small" problem: The debugger don't work. I can't set a breakpoint and the menus Procedurestep, Singlestep and Blockstep are permanently disabled. Is it necessary to configure something or to use a special command? If I press the button "Stop" I get a message box with "Not supported". What is wrong?
Thanks for tips.
Cheers
Stefan
Visit my personal or commercial site
If you have questions or suggestions, write me an eMail or
meet me here

OlimilO

Intermediate

  • "OlimilO" is male

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

2

Sunday, March 15th 2009, 12:18pm

Hi Stefan,

maybe there is a minor problem of comprehension or something does not work due to a beta-version reason.lets solve your problem step by step:

please do the following steps (even if they may look simple to you, please follow the steps):

* start Jabaco (click the jabaco -icon)

* when Jabaco starts you should see a dialog named "Neues Projekt"
in the tab "Neu" select the icon "SDI-Anwendung" (normally it is selected yet)
and finish the dialog with the button "Öffnen"

* Jabaco finished starting with a new project, with a form: Form1 and with a module Module1

* on the left hand side you have the toolbar tools select the icon "CommandButton"
click on the form and size the button by dragging the mouse (the same as in VB6)

* click on the button and double click on the button

* the input-pane of the form should appear immediately and it should print automatically:

Jabaco Source

1
2
3
Public Sub Command1_Click() 

End Sub



jabaco created an event-handler procedure for you just like in VB6

* copy the follwing code into it. Your Sub Command1_Click should be then:

Jabaco Source

1
2
3
4
5
Public Sub Command1_Click() 
Dim s As String 
s = "teststring" 
MsgBox s 
End Sub


* now lets create a breakpoint:
from the line "s = "teststring" click into the left hand grey range of this line
a red sphere should appear below your mouse, this is the breakpoint

does it work so far?

* now start the project in debug-mode:
type the F5-key on your keyboard or press the green play-button in the upper toolbar.

* the form with the button on it should appear. click the button.

* now the debugger should switch back to Jabaco and the line is colored and marked yellow
also a yellow arrow should appear onto the red spere.

* now you can use the F8-key on your keyboard to go to the next line

* sometimes the F8-key does not work, this is due to beta-version reasons (I guess),
* but most of the time it works - on my computer

greetings

OlimilO

This post has been edited 2 times, last edit by "OlimilO" (Mar 15th 2009, 5:58pm)


  • "Stefan Schnell" is male
  • "Stefan Schnell" started this thread

Posts: 102

Date of registration: Mar 13th 2009

Location: Oberirsen - Germany

Occupation: Senior Software Engineer

Hobbies: Programming aund Photography

  • Send private message

3

Sunday, March 15th 2009, 3:09pm

Hi OlimilO,
thanks for your tip, now it works. I don't know how to set a breakpoint in the gutter on the left side. but now I know.
Thanks again.
Cheers
Stefan
Visit my personal or commercial site
If you have questions or suggestions, write me an eMail or
meet me here

Rate this thread
WoltLab Burning Board