jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Moderator: gnozal
Ok, did as was required. It started the compiler, then crashed, no errors nothing, in japbe which is in debug mode, etc. ..
Any other ideas?
Steps to reproduce ...
01. Install Windows XP
02. Install all of the latest updates for Windows XP
03. Install PureBasic 3.94 in one directory.
04. Install PureBasic 4.0 in another directory.
05. Install Japbe for PB 3.x in one directory.
06. Install Japbe for PB 4.x in another directory.
07. Configure each japbe to point to the appropriate compiler version directory.
08. For each PB compiler directory, place in sciLexer.dll.
09. Install SocketTools Library Edition.
10. Install the SocketTools Library Edition PureBasic support files.
11. Download http://www.unformed.com/st.zip and extract somewhere on your computer.
12. Extract the Japbe sources into the japbe for pb4 directory.
13. Run Japbe for pb 3, and load the japbe sources ala japbe.pb.
14. Press F6 to run the japbe sources in debug mode.
15. Now take that running japbe and load up the st sources, try the server.pb first.
16. Now press F6, and you will get the following, every time ...
http://www.unformed.com/japbe-bug.jpg
Any other ideas?
Steps to reproduce ...
01. Install Windows XP
02. Install all of the latest updates for Windows XP
03. Install PureBasic 3.94 in one directory.
04. Install PureBasic 4.0 in another directory.
05. Install Japbe for PB 3.x in one directory.
06. Install Japbe for PB 4.x in another directory.
07. Configure each japbe to point to the appropriate compiler version directory.
08. For each PB compiler directory, place in sciLexer.dll.
09. Install SocketTools Library Edition.
10. Install the SocketTools Library Edition PureBasic support files.
11. Download http://www.unformed.com/st.zip and extract somewhere on your computer.
12. Extract the Japbe sources into the japbe for pb4 directory.
13. Run Japbe for pb 3, and load the japbe sources ala japbe.pb.
14. Press F6 to run the japbe sources in debug mode.
15. Now take that running japbe and load up the st sources, try the server.pb first.
16. Now press F6, and you will get the following, every time ...
http://www.unformed.com/japbe-bug.jpg
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
From what I can see in http://www.unformed.com/japbe-bug.jpg , it's not a jaPBe crash, it's a Purebasic compiler crash !
PBCompiler-jaPBe.exe is a patched PBCompiler.exe (see PatchPB.pbi) : 'Polink' is replaced by 'Folink'.
PBCompiler-jaPBe.exe is a patched PBCompiler.exe (see PatchPB.pbi) : 'Polink' is replaced by 'Folink'.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
So it's a japbe patched pb compiler crash? That would explain why the bug only happens with japbe and not the pb ce.
Ok, since it crashes on something modified by pb, but only afterwards what's the best way to debug that sucker?
(edit): Ok, when I get home tonight, I'll look at that pbi, and try to clone the patching process it does with the pb compiler, hopefully be able to run it through a debugger to see what the heck is going on. I'll give you my results in a few hours as I am really hoping to get this bug cleared off the list
jaPBe rules hardcore for both ease of use, speed and just down right awesome. SocketTools rules as it provides much needed functionality. The ability to use these two together in XP would be a nice dream
Anyways, I'll post back in a bit.
Ok, since it crashes on something modified by pb, but only afterwards what's the best way to debug that sucker?
(edit): Ok, when I get home tonight, I'll look at that pbi, and try to clone the patching process it does with the pb compiler, hopefully be able to run it through a debugger to see what the heck is going on. I'll give you my results in a few hours as I am really hoping to get this bug cleared off the list

jaPBe rules hardcore for both ease of use, speed and just down right awesome. SocketTools rules as it provides much needed functionality. The ability to use these two together in XP would be a nice dream

Anyways, I'll post back in a bit.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
I think GPI added this patching thing because the patched compiler starts a pseudo linker (Folink) wich adds some functionnality like resources and stuff. I don't know if this is still necessary with the new Purebasic (never studied this part of the sources).Shannara wrote:Ok, I removed the f replacement, still crashes. I did a return of true and tried a false one at the beginning, still crashes ... hrm ..
Isnt there a way around this from patching PB? And why patch PB compiler itself instead of leaving it alone?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
@gnozal
I have one question about plugins for jaPBe.
In the orginal IDE of PB you have in the config section for tools the Argument "%EXECUTABLE%".
But in jaPBe i cant found this argument so how i can have the path to the last createt executable?
THX
Nico
I have one question about plugins for jaPBe.
In the orginal IDE of PB you have in the config section for tools the Argument "%EXECUTABLE%".
But in jaPBe i cant found this argument so how i can have the path to the last createt executable?
THX
Nico
my live space
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
At the moment, you can't (no variable %EXECUTABLE).nicolaus wrote:@gnozal
I have one question about plugins for jaPBe.
In the orginal IDE of PB you have in the config section for tools the Argument "%EXECUTABLE%".
But in jaPBe i cant found this argument so how i can have the path to the last createt executable?THX
Nico
But you can get the temporary executable name (chosen by PBCompiler) in \Compilers\Communication.msg after you do F5/F6.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- New User
- Posts: 7
- Joined: Fri Sep 09, 2005 5:27 pm
crash
1.- open japbe
2.- import(return)
3.- ---crash---
pd. config: all default.
os: winxp sp2
version: jaPBe 3.6.7.548
2.- import(return)
3.- ---crash---
pd. config: all default.
os: winxp sp2
version: jaPBe 3.6.7.548
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: crash
Can't reproduce the problem here.denise_amiga wrote:1.- open japbe
2.- import(return)
3.- ---crash---
pd. config: all default.
os: winxp sp2
version: jaPBe 3.6.7.548
If I open jaPBe, type 'import' + Return, I get this :
Code: Select all
Import
EndImport
Download Last BETA [EXE only] http://people.freenet.de/gnozal/jaPBeForPB400_beta.zip
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- New User
- Posts: 7
- Joined: Fri Sep 09, 2005 5:27 pm
Hello gnozal,
i want to duplicate the two lines with button2 and button3, so i selected this
lines. Then i press Ctrl+C once and Ctrl+V twice,
this is, was jaPBe wrote:
Strange, isn't it? 
Greetings ... Kiffi
Code: Select all
Enumeration
#button1
#button2
#button3
EndEnumeration
lines. Then i press Ctrl+C once and Ctrl+V twice,
this is, was jaPBe wrote:
Code: Select all
Enumeration
#button1
EndEnumeration #button2
#button3
#button2
#button3

Greetings ... Kiffi
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Strange indeedKiffi wrote:Strange, isn't it?
Greetings ... Kiffi

Looks like I forgot some debugging code

Please test http://people.freenet.de/gnozal/jaPBeForPB400_beta.zip
Probably ; you may just loose some resource functionalities.Kiffi wrote:Is there any chance to just bypass the patching of the pb compiler entirely?
A fast way to find out : you can try it (not tested).
Download the sources, open PatchPB.pbi, and in procedure PatchPB() just comment lines 22 to 41, and recompile jaPBe.
Code: Select all
; For i=1 To len
; ;lcclnk.exe
; If *buf\b=#LinkerFirstChar1 Or *buf\b=#LinkerFirstChar2
; If CompareMemoryString(*buf,#Linker,#True,10)=0
; *buf\b='f' ; <-------------- PATCH IS HERE
; EndIf
; EndIf
; ; If *buf\b='p' Or *buf\b='P'
; ; If CompareMemoryString(*buf,"PureBasic v",#True,11)=0
; ; *ver.BYTE=*buf+11
; ; PBVersion$=""
; ; While *ver\b<>0 And *ver\b<>13 And *ver\b<>10 And *ver\b<>'-'
; ; PBVersion$+Chr(*ver\b)
; ; *ver+1
; ; Wend
; ; PBVersion$=Trim(PBVersion$)
; ; EndIf
; ; EndIf
; *buf+1
; Next
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).